This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: Mark Mitchell <mark at codesourcery dot com>, Ian Lance Taylor <iant at google dot com>, Paul Eggert <eggert at CS dot UCLA dot EDU>, autoconf-patches at gnu dot org, bug-gnulib at gnu dot org, gcc at gcc dot gnu dot org
- Date: 03 Jan 2007 00:13:40 +0100
- Subject: Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."
- References: <87fybbyq27.fsf@penguin.cs.ucla.edu> <20061220123349.GE7947@iam.uni-bonn.de> <emc3jc$eap$1@sea.gmane.org> <87mz57xjlf.fsf@penguin.cs.ucla.edu> <m3odpmsnlc.fsf@localhost.localdomain> <45996521.3090405@codesourcery.com> <459AD98B.2040809@redhat.com>
Diego Novillo <dnovillo@redhat.com> writes:
| Mark Mitchell wrote on 01/01/07 14:46:
|
| > What a thread this has turned out to be.
| >
| Indeed.
|
| In general, I'm not too thrilled with the idea of disabling
| transformations for the sake of non-conforming code. However, I would
| not mind a -fconforming flag similar to -fstrict-aliasing.
Yes, we need a flag of some sort.
However, a C implementation with LIA-1 semantics is just as conforming
and standard as a C implementation without it. So, we must be careful
about what we hide behind the flags and what we want it to convey.
-- Gaby