This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Path to add -O2 to TORTURE_OPTIONS list.
- To: Horst von Brand <vonbrand at sleipnir dot valparaiso dot cl>
- Subject: Re: Path to add -O2 to TORTURE_OPTIONS list.
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Wed, 24 Feb 1999 20:46:57 -0700
- cc: Nick Clifton <nickc at cygnus dot com>, egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199902250257.XAA14738@sleipnir.valparaiso.cl>you write:
> Nick Clifton <nickc@cygnus.com> said:
> > I have just appleid the patch below to the GCC testsuite, so that
> > the -O3 command line switch will now also be tested. No new tests
> > or test runs have been introduced by this change.
>
> To me it looks like you replaced -O2 by -O3... -O2 _is_ important on
> itself, as it is the recommended optimization level for many packages,
> including the linux kernel. -O3 isn't used as often because of the
> resulting bloat due to indiscriminate inlining.
If you look more closely, he changed cases which did -O2 -finline-functions ...
to be -O3 -finline-functions.
It doesn't actually change the testsuite in any way at the moment, but if we
ever made -O3 do something other than just turn on funtion inlining, then this
change will become much more important.
I believe that we will in the not too distant future want to add some opts to
-O3.
jeff