This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.0 high priority: optimization/3083: C++ frontend consumesinacceptable amounts of CPU with -O3
- To: pfeifer at dbai dot tuwien dot ac dot at
- Subject: Re: 3.0 high priority: optimization/3083: C++ frontend consumesinacceptable amounts of CPU with -O3
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Sat, 09 Jun 2001 10:57:02 -0700
- Cc: pcarlini at unitus dot it, gcc at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <Pine.BSF.4.33.0106091208110.82995-100000@deneb.dbai.tuwien.ac.at>
>>>>> "Gerald" == Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:
>> the -O3 option was broken?? (i.e. -O3 compilations were faster
>> than they really would have been if -O3 was really working...)
I consider -O3 to be essentially worthless in its current state. I
never use it my own code.
I know there are programs that will run faster with -O3 -- but there
are lots of problems that will compile slower and then run slower. We
should really improve the -O3 inlining heuristics; our current
approach is too naive.
FWIW,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com