100x -O0 Compile Time Regression {3.2,3.3} -> {3.4,3.5}
John Vickers
John@xza5.com
Fri Feb 13 00:56:00 GMT 2004
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.
More information about the Gcc
mailing list