Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2005 01:46:31 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Mike Jakubik <mikej@rogers.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: CFLAGS=-O2 -pipe problems in RELENG_5 ?
Message-ID:  <20050121094631.GA47975@xor.obsecurity.org>
In-Reply-To: <52406.207.219.213.162.1106257499.squirrel@207.219.213.162>
References:  <3aaaa3a0501181530975fecf@mail.gmail.com> <XFMail.20050120085633.jdp@polstra.com> <3aaaa3a050120105459f7d015@mail.gmail.com> <3aaaa3a050120111777ada357@mail.gmail.com> <1106256780.582.5.camel@zappa.Chelsea-Ct.Org> <52406.207.219.213.162.1106257499.squirrel@207.219.213.162>

next in thread | previous in thread | raw e-mail | index | archive | help

--X1bOJ3K7DJ5YkBrT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jan 20, 2005 at 04:44:59PM -0500, Mike Jakubik wrote:
> Paul Mather said:
>=20
> > 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. ..."
>=20
> 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


--X1bOJ3K7DJ5YkBrT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB8M93Wry0BWjoQKURAuaMAJ9Q1W69OTjjEtejPQxDVq1K7KnNrACgwClK
aTiJpOuOTS1yY8Jfz3cIcOc=
=EWlu
-----END PGP SIGNATURE-----

--X1bOJ3K7DJ5YkBrT--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050121094631.GA47975>