This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: type based aliasing again
- To: rms at gnu dot org
- Subject: Re: type based aliasing again
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 13 Sep 1999 01:56:29 -0600
- cc: dje at watson dot ibm dot com, mark at codesourcery dot com, jbuck at synopsys dot com, mrs at wrs dot com, gcc at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <199909130757.DAA05910@psilocin.gnu.org>you write:
> Changing the default to -fno-strict-aliasing would certainly solve the
> immediate problem. If people are happy with that, as a more or less
> permanent decision, I think it avoids most of the need to do anything
> else. (An added warning might be desirable, though, even with
> -fno-strict-aliasing.)
I strongly feel this is the wrong approach.
It penalizes those programmers who write correct code to cater to the
programmers that do not write correct code. That to me is short sighted and
counter-productive.
jeff