• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: xcode 1.2, -fast and ppc_intrinsics.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcode 1.2, -fast and ppc_intrinsics.h


  • Subject: Re: xcode 1.2, -fast and ppc_intrinsics.h
  • From: Mark Eissler <email@hidden>
  • Date: Wed, 28 Apr 2004 19:21:13 -0400

Ahhh. Okay. Thanks for the explanation Andrew. I spent far too much time today trying to figure this one out!

-mark

On Apr 28, 2004, at 4:09 PM, Andrew Pinski wrote:


On Apr 28, 2004, at 13:09, Mark Eissler wrote:

I think my problem (re: type-punning) is triggered by the fact that -fast turns on strict aliasing rules. I'm puzzled though because it's flagging my classes as being problematic. And I can't see why that is.

Sure I could just turn off -fast, or at least strict aliasing, and probably continue on my way....but stuff like this just gets under my skin because something is obviously not right! Better to fix it now then have it haunt you later on.

-mark


That is because there is a bug in GCC which causes the
following to be marked as an type prunning
when it should not be.

[CLASS_NAME class_message];

It will not cause a bug in your code though as it is right away passing to a
function and the function will not be inlined at all.


Thanks,
Andrew Pinski


--
Mark Eissler, email@hidden
Mixtur Interactive, Inc.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >xcode 1.2, -fast and ppc_intrinsics.h (From: Brian Barnes <email@hidden>)
 >Re: xcode 1.2, -fast and ppc_intrinsics.h (From: Mark Eissler <email@hidden>)
 >Re: xcode 1.2, -fast and ppc_intrinsics.h (From: "email@hidden" <email@hidden>)
 >Re: xcode 1.2, -fast and ppc_intrinsics.h (From: Mark Eissler <email@hidden>)
 >Re: xcode 1.2, -fast and ppc_intrinsics.h (From: Andrew Pinski <email@hidden>)

  • Prev by Date: Re: # flag used with printf warning
  • Next by Date: Re: xcode 1.2, -fast and ppc_intrinsics.h
  • Previous by thread: Re: xcode 1.2, -fast and ppc_intrinsics.h
  • Next by thread: Re: xcode 1.2, -fast and ppc_intrinsics.h
  • Index(es):
    • Date
    • Thread