[haiku-development] Re: Disabling Strict Aliasing for GCC4 Builds

  • From: "Michael Lotz" <mmlr@xxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 17 Apr 2008 23:07:47 +0200

Hi Ryan

> I assume the second line is meant to be:
> int someInt = *(int *)&someDouble;
> Right?

Yep, obviously messed that up when renaming the variables to be more 
descriptive.

> So until we can really dig
> into these issues it might be smart to go easy on the optimizations.

Exactly. The proposed thing is actually about disabling an optimization 
until we have the time to fix the potential issues.

Regards
Michael

Other related posts: