* profiledbootstrap insn-attrtab.c compile taking forever
@ 2005-07-14 8:45 Richard Guenther
2005-07-14 10:55 ` Richard Guenther
0 siblings, 1 reply; 4+ messages in thread
From: Richard Guenther @ 2005-07-14 8:45 UTC (permalink / raw)
To: gcc
As subject says - on x86_64 it takes a whopping 30 minutes to
compile said with -fprofile-generate! And of course profiledbootstrap
later fails with
stage1/xgcc -Bstage1/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -c -g
-O2 -fprofile-use -freorder-blocks-and-partition -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror
-fno-common -DHAVE_CONFIG_H -I. -I.
-I/mnt/space/rguenther/src/gcc-clean/gcc
-I/mnt/space/rguenther/src/gcc-clean/gcc/.
-I/mnt/space/rguenther/src/gcc-clean/gcc/../include
-I/mnt/space/rguenther/src/gcc-clean/gcc/../libcpp/include
/mnt/space/rguenther/src/gcc-clean/gcc/tree-cfg.c -o tree-cfg.o
/mnt/space/rguenther/src/gcc-clean/gcc/tree-cfg.c: In function
‘tree_find_edge_insert_loc’:
/mnt/space/rguenther/src/gcc-clean/gcc/tree-cfg.c:2915: error: coverage
mismatch for function ‘tree_find_edge_insert_loc’ while reading
counter ‘arcs’
/mnt/space/rguenther/src/gcc-clean/gcc/tree-cfg.c:2915: error: number of
counters is 39 instead of 41
Richard.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: profiledbootstrap insn-attrtab.c compile taking forever
2005-07-14 8:45 profiledbootstrap insn-attrtab.c compile taking forever Richard Guenther
@ 2005-07-14 10:55 ` Richard Guenther
2005-07-17 1:41 ` R Hill
0 siblings, 1 reply; 4+ messages in thread
From: Richard Guenther @ 2005-07-14 10:55 UTC (permalink / raw)
To: Richard Guenther; +Cc: gcc
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: profiledbootstrap insn-attrtab.c compile taking forever
2005-07-14 10:55 ` Richard Guenther
@ 2005-07-17 1:41 ` R Hill
2005-07-17 11:41 ` R Hill
0 siblings, 1 reply; 4+ messages in thread
From: R Hill @ 2005-07-17 1:41 UTC (permalink / raw)
To: gcc
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?
--de.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: profiledbootstrap insn-attrtab.c compile taking forever
2005-07-17 1:41 ` R Hill
@ 2005-07-17 11:41 ` R Hill
0 siblings, 0 replies; 4+ messages in thread
From: R Hill @ 2005-07-17 11:41 UTC (permalink / raw)
To: gcc
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-07-17 11:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-14 8:45 profiledbootstrap insn-attrtab.c compile taking forever Richard Guenther
2005-07-14 10:55 ` Richard Guenther
2005-07-17 1:41 ` R Hill
2005-07-17 11:41 ` R Hill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).