This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 100x -O0 Compile Time Regression {3.2,3.3} -> {3.4,3.5}
- From: John Vickers <John at xza5 dot com>
- To: Mike Stump <mrs at apple dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 13 Feb 2004 00:56:25 +0000
- Subject: Re: 100x -O0 Compile Time Regression {3.2,3.3} -> {3.4,3.5}
- References: <21E5DE00-5DBC-11D8-A298-003065A77310@apple.com>
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.