This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Merge C++ conversion into trunk (0/6 - Overview)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Mike Stump <mikestump at comcast dot net>
- Cc: Diego Novillo <dnovillo at google dot com>, gcc-patches at gcc dot gnu dot org, Lawrence Crowl <crowl at google dot com>, bonzini at gnu dot org, dj at redhat dot com, rguenther at suse dot de, tromey at redhat dot com, laurynas dot biveinis at gmail dot com
- Date: Thu, 13 Sep 2012 10:46:21 +0200
- Subject: Re: Merge C++ conversion into trunk (0/6 - Overview)
- References: <20120812200427.GA12561@google.com> <7C104A77-8655-41DE-AF40-B1248B67D2E1@comcast.net>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Aug 23, 2012 at 01:54:38PM -0700, Mike Stump wrote:
> I think:
>
> # Remove the -O2: for historical reasons, unless bootstrapping we prefer
> # optimizations to be activated explicitly by the toplevel.
> case "$CC" in
> */prev-gcc/xgcc*) ;;
> *) CFLAGS=`echo $CFLAGS | sed "s/-O[[s0-9]]* *//" ` ;;
> esac
> AC_SUBST(CFLAGS)
>
> in configure.ac does this. I think if CXXFLAGS is also so done, we'd gain parity.
Can we get this change in? The current state is terribly annoying.
Jakub