This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc performance and bootstrap
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Oleg Smolsky <oleg at cohesity dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Wed, 25 Jan 2017 09:22:13 +0000
- Subject: Re: gcc performance and bootstrap
- Authentication-results: sourceware.org; auth=none
- References: <d52ffd3c-2939-2a2e-9670-a41c9e5e70ee@cohesity.com>
On 25 January 2017 at 01:45, Oleg Smolsky wrote:
> I've just noticed that gcc5.4 is 3x faster on large/complex files when it is
> built with --enable-bootstrap (as opposed to --disable-bootstrap). I thought
> that the stage2 compiler is already built with itself and so there should be
> no difference between stage2 and stage3 compilers... (the host's compiler is
> gcc 4.8)
>
> Do you know what's going on?
Are you sure --enable-bootstrap is the only difference, and one isn't
build with --enable-checking?
Are both built from the exact 5.4.0 release, not a snapshot?