This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 3.0 high priority: optimization/3083: C++ frontend consumesinacceptable amounts of CPU with -O3


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]