Re: MacIntel apps behaves weirdly when compiled with -02 not -01
Re: MacIntel apps behaves weirdly when compiled with -02 not -01
- Subject: Re: MacIntel apps behaves weirdly when compiled with -02 not -01
- From: Jonas Maebe <email@hidden>
- Date: Fri, 13 Jan 2006 09:55:50 +0100
On 13 jan 2006, at 08:44, Gen Kiyooka wrote:
My rule of thumb is: if it fails on maximum optimizations, keep
backing off until there are none.
If it works with none, it is the compiler's interpretation of your
code. Otherwise, it's your own bug.
This is not always true. It's quite possible that a bug only shows up
at higher optimization levels (or even disappears at higher
optimization levels), e.g. because you're using a uninitialised
variable and the contents of the used memory location/register by the
compiler happens to have the correct value in one of the scenarios,
but not in the other.
I do agree that's quite unlikely in this case, but you never know.
Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden