This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: profiledbootstrap insn-attrtab.c compile taking forever
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 14 Jul 2005 12:54:26 +0200
- Subject: Re: profiledbootstrap insn-attrtab.c compile taking forever
- References: <Pine.LNX.4.58.0507141043000.23651@wotan.suse.de>
- Reply-to: Richard Guenther <richard dot guenther at gmail dot com>
On 7/14/05, Richard Guenther <rguenther@suse.de> wrote:
>
> As subject says - on x86_64 it takes a whopping 30 minutes to
> compile said with -fprofile-generate!
It's caused by -frename-registers enabled by -funroll-loops. Compiling
with -O2 -fno-unroll-loops -fprofile-generate compared to -O2 -fno-unroll-loops
-fprofile-generate -frename-registers takes 14 minutes instead of 31.
Please consider not enabling -frename-registers for -fprofile-generate.
Thanks,
Richard.