This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: module level flags
- From: Bruce Korb <bkorb at pacbell dot net>
- To: Joe Buck <Joe dot Buck at synopsys dot com>
- Cc: Alexandre Oliva <aoliva at redhat dot com>, Robert Dewar <dewar at gnat dot com>, zack at codesourcery dot com, gcc at gcc dot gnu dot org
- Date: Tue, 01 Oct 2002 12:16:02 -0700
- Subject: Re: module level flags
- References: <200210011827.LAA11402@atrus.synopsys.com>
Joe Buck wrote:
> Use -fno-strict-aliasing if you don't want to learn the rules.
> Your code may be slower, but no matter.
It's not a matter of not wanting to learn the rules. It's a matter
of dealing with massive amounts of legacy code written before the
aliasing optimizations were devised. This is a change in the C
language that is only a very few years old. Silently biting people
isn't the way to do it.