This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Linux and aliasing?
- To: Joe Buck <jbuck at Synopsys dot COM>
- Subject: Re: Linux and aliasing?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 04 Jun 1999 11:17:04 -0600
- cc: torvalds at transmeta dot com (Linus Torvalds), craig at jcb-sc dot com, mark at codesourcery dot com, davem at redhat dot com, chip at perlsupport dot com, egcs at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
> Either
> 1. Leave it as it is (the Linux kernel will need -fno-strict-aliasing).
This is my strong preference.
I see no need to make conforming, portable code run slower. Lots of folks have
already fixed these problems in their code (in large part because vendor
compilers started doing this kind of alias analysis years ago).
Folks working with non-portable code can use -fno-strict-aliasing and pay
the resulting performance penalty.
jeff