6.0 and -O2 option
Chuck Swiger
cswiger at mac.com
Wed Aug 31 14:57:08 GMT 2005
Jim C. Nasby wrote:
> On Tue, Aug 30, 2005 at 10:57:53AM +1000, Robert Backhaus wrote:
[ ... ]
>> Simply because not every port works with -O2 optimisations. It caused
>> bad code in some circumstances.
>
> Is there an automated way to identify those ports so they can be forced
> not to use -O higer than -O1?
Regrettably, no. Well, -Werror might be somewhere between overkill and
helpful, assuming the compiler can recognize a potential type-punning situation.
--
-Chuck
More information about the freebsd-stable
mailing list