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]
Other format: [Raw text]

Re: 100x -O0 Compile Time Regression {3.2,3.3} -> {3.4,3.5}


Mike Stump wrote:
On Thursday, February 12, 2004, at 01:50 PM, John Vickers wrote:

We've got some generated C++ which compiles in about 10s (on a P4 2800) at -O0 with gcc-3.2 or 3.3.2, but takes about 1000s with 3.4.0 or 3.5.0.


Oh, you will want to configure with --disable-checking and ensure that you built an optimized compiler. The first isn't the default in development sources, the later should be, but, might not if you do builds in the gcc dir.

Also, you should be using bootstrap to build the compiler.

:-)


Yup, done that. (The configure options are in the attachment!)

I forgot about --disable-checking at first. But it didn't make much difference (few percent).

The uncompressed .ii file is about 5.2M. Is that OK to attach to bugzilla ?

I'll file a report in the morning (GMT).

Thanks.

John.






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