This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Linux and aliasing?
- To: Jason Merrill <jason at cygnus dot com>
- Subject: Re: Linux and aliasing?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 06 Jun 1999 23:16:46 -0600
- cc: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>, torvalds at transmeta dot com, egcs at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <u9lndw7rr9.fsf@yorick.cygnus.com>you write:
> It seems to me that this issue is broader than the kernel; any code that
> uses casts to, say, get at the bitwise representation of a floating point
> value is likely to break.
This has been the most common problem I've seen over the years with type
based alias analysis. However, as I've mentioned before, most folks have
already fixed their code so that it would work with various vendor compilers
that added type based alias analysis years ago.
jeff