Re: GCC 4.6.0
Duncan <1i5t5.duncan <at> cox.net>
2011-04-03 05:50:32 GMT
Ryan Hill posted on Sat, 02 Apr 2011 22:11:12 -0600 as excerpted:
> You may also want to test your packages with the new -Ofast option to
> be sure it doesn't have any hardcoded assumptions about -O flags.
The release description I've read for -Ofast says it includes -fast-math,
among other things, a flag Gentoo has always strongly discouraged (you
break with it, you keep the pieces) and which can get bugs resolved/
invalid as a result.
Now that gcc 4.6 itself is more strongly supporting it as enabled with one
of the -O options, is that policy going to change, or is Gentoo going to
officially not support -Ofast, as well?
Or is that yet to be established, thru testing?
FWIW, I've always stayed away from that flag, but if Gentoo's going to
support it now, that may well change, tho I'd certainly disable it for
specific packages using /etc/portage/env/*, as I already do for
-combine, in my default CFLAGS but not CXXFLAGS, for instance.
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman