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: profiledbootstrap insn-attrtab.c compile taking forever


R Hill wrote:
Richard Guenther wrote:
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.

I thought -frename-registers defaulted to disabled now. On the 4.0 branch the manual states it's not enabled by opt switches due to known bugs. Is it also enabled by -funroll-loops on the branch?

Nevermind, I've just found the relevant discussion. ;P


--de.


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