On Thu, 2005-01-20 at 16:44 -0500, Mike Jakubik wrote:
> Paul Mather said:
> 
> > On Thu, 2005-01-20 at 19:17 +0000, Chris wrote:
> >> what does -fno-strict-alias do? I cannot find it in man gcc
> >
> > It is a truncation of "-fno-strict-aliasing".  The flag does not appear
> > to be described in the gcc man page, but is documented in the gcc info
> > page (search for "-fstrict-aliasing").  To quote the info page,
> > -fstrict-aliasing "allows the compiler to assume the strictest aliasing
> > rules applicable to the language being compiled. ..."
> 
> Wouldn't we want strict aliasing then?

Yes, but unfortunately some ports circumvent the strict aliasing rules,
which is why those ports break when building with -O2 (which causes
-fstrict-aliasing to be enabled).

Cheers,

Paul.
-- 
e-mail: [EMAIL PROTECTED]

"Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid."
        --- Frank Vincent Zappa
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to