This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc3 vs 176.gcc
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Joe Buck <jbuck at synopsys dot COM>
- Cc: Richard Henderson <rth at redhat dot com>, <geoffk at redhat dot com>, <dalej at apple dot com>, <gcc at gcc dot gnu dot org>
- Date: Thu, 10 Jan 2002 21:00:26 +0000 (GMT)
- Subject: Re: gcc3 vs 176.gcc
On Thu, 10 Jan 2002, Joe Buck wrote:
> Maybe this one should be a hard error if -fstrict-aliasing is enabled
> and optimization is on, as bad code is so highly likely. But there
> is perhaps a philosophical problem with having a warning become an
> error based on optimization level.
Making it an error is no good since we don't know that any particular
function ever gets executed. (You could compile it into a call to
abort(), though.)
--
Joseph S. Myers
jsm28@cam.ac.uk