Re: GCC 4.0 compiled code behaves differently with Debug on
Re: GCC 4.0 compiled code behaves differently with Debug on
- Subject: Re: GCC 4.0 compiled code behaves differently with Debug on
- From: Paul Russell <email@hidden>
- Date: Wed, 21 Dec 2005 19:14:53 +0000
On 21 Dec 2005, at 17:25, Ken Baer wrote:
Well, after I posted the original message to this thread, I
realized that the optimization is different between Debug and
Release compiler settings. So, I started playing with the
optimization for my release build. I discovered that if reduce the
optimization from Fastest to Fast, the code works properly. Now
this code is identical to code that works with Fastest/Smallest
using the gcc 3.3 compiler. I will look into using Guard Malloc,
but I am still suspicious of the compiler.
I've noticed some small differences in floating point behaviour
between 3.3 and 4.0. The generated code is still correct but I saw a
problem where a novice programmer was making bad assumptions when
converting floats to ints (he got away with it in 3.3 but his code
broke in 4.0).
Paul
_______________________________________________
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