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: Joe Buck <Joe dot Buck at synopsys dot COM>
- To: Florian Weimer <fw at deneb dot enyo dot de>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>, Gabriel Dos Reis <gdr at integrable-solutions dot net>, Andrew Pinski <pinskia at physics dot uc dot edu dot integrable-solutions dot net>, 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, dnovillo at redhat dot com
- Date: Sat, 30 Dec 2006 17:40:25 -0800
- Subject: Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."
- References: <200612291732.kBTHWNkC024013@localhost.localdomain> <871wmipecd.fsf@mid.deneb.enyo.de>
On Fri, Dec 29, 2006 at 10:44:02PM +0100, Florian Weimer wrote:
> Does autoconf enable higher optimization levels for other compilers by
> default?
Yes.
Rather, some other compilers default to optimization on, unless the
user explicitly turns it off with -O0. (Example: icc).