Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Feb 2004 15:14:10 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        richardcoleman@mindspring.com
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: -fno-strict-aliasing
Message-ID:  <xzpu12049xp.fsf@dwp.des.no>
In-Reply-To: <4027871E.8080800@mindspring.com> (Richard Coleman's message of "Mon, 09 Feb 2004 08:11:58 -0500")
References:  <c11ba4d1.a4d1c11b@etat.lu> <20040209022820.00faa408@pyro.convolution.ti> <20040209043217.GA1009@xor.obsecurity.org> <4027871E.8080800@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Richard Coleman <richardcoleman@mindspring.com> writes:
> Although it's not urgent, I don't see why the aliasing problems can't
> be fixed.

Doing so is not always trivial.  We have a lot of legacy code that
plays pointer games that sometimes violate strict-aliasing rules.  We
also have a lot of legacy code that doesn't know about const but needs
to interact with more recent code that uses const, requiring dodgy
pointer casts (for instance, most of the aliasing problems in libpam
are const-related).

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



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