CFLAGS=-O2 -pipe problems in RELENG_5 ?

Kris Kennaway kris at obsecurity.org
Fri Jan 21 01:46:43 PST 2005


On Thu, Jan 20, 2005 at 04:44:59PM -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?

It's desirable, but a lot of ports contain bugs that are exposed by
this option (the base system used to as well, but these are believed
to all be fixed).

Kris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050121/5a7d66f3/attachment.bin


More information about the freebsd-stable mailing list