[Bug middle-end/16266] [4.0 regression] gcc.dg/c99-intconst-1.c compilation is very slow
amylaar at spamcop dot net
gcc-bugzilla@gcc.gnu.org
Fri Oct 8 09:17:00 GMT 2004
------- Additional Comments From amylaar at spamcop dot net 2004-10-08 09:17 -------
Subject: Re: [4.0 regression] gcc.dg/c99-intconst-1.c compilation is very slow
>
>
> ------- Additional Comments From giovannibajo at libero dot it 2004-10-06 23:19 -------
> I cannot reproduce this on mainline 20040923 on x86-linux with a disable
> checking compiler. So either:
>
> - the bug is already fixed
It is not fixed. This is on an Athlon XP 2800+ (Barton core, 2.08 GHz, dual
channel DDR CL 2.5), while the previous timings were for one of two
Athlon MP 1600+ (1.4 GHz):
amylaar@meolyon:/swbuild/nightly/2004-10-08/sh-elf/gcc/testsuite> time /swbuild/nightly/2004-10-08/sh-elf/gcc/cc1 -fpreprocessed c99-intconst-1.i -dumpbase c99-intconst-1.c -auxbase-strip c99-intconst-1.s -pedantic-errors -std=iso9899:1999 -version -o c99-intconst-1.s
GNU C version 4.0.0 20041008 (experimental) (sh-elf)
compiled by GNU C version 3.2.2.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
options passed: -fpreprocessed -auxbase-strip -pedantic-errors
-std=iso9899:1999
options enabled: -falign-loops -fargument-alias -fbranch-count-reg
-fcommon -feliminate-unused-debug-types -ffunction-cse -fgcse-lm -fident
-fivopts -fkeep-static-consts -fleading-underscore -floop-optimize2
-fmath-errno -fpeephole -freg-struct-return -fsched-interblock
-fsched-spec -fsched-stalled-insns-dep -fsplit-ivs-in-unroller
-ftrapping-math -ftree-loop-im -ftree-loop-ivcanon -ftree-loop-optimize
-fvar-tracking -fzero-initialized-in-bss -m1
foo
{GC 29627k -> 17760k} {GC 32165k -> 30300k} {GC 47313k -> 37867k}
Execution times (seconds)
garbage collection : 0.54 ( 0%) usr 0.00 ( 0%) sys 0.54 ( 0%) wall
CFG verifier : 0.25 ( 0%) usr 0.00 ( 0%) sys 0.25 ( 0%) wall
trivially dead code : 0.04 ( 0%) usr 0.00 ( 0%) sys 0.04 ( 0%) wall
life analysis : 0.20 ( 0%) usr 0.00 ( 0%) sys 0.20 ( 0%) wall
life info update : 0.09 ( 0%) usr 0.00 ( 0%) sys 0.09 ( 0%) wall
register scan : 0.05 ( 0%) usr 0.00 ( 0%) sys 0.05 ( 0%) wall
rebuild jump labels : 0.03 ( 0%) usr 0.00 ( 0%) sys 0.03 ( 0%) wall
preprocessing : 0.45 ( 0%) usr 0.33 (22%) sys 0.78 ( 1%) wall
lexical analysis : 0.45 ( 0%) usr 0.53 (36%) sys 0.98 ( 1%) wall
parser : 1.06 ( 1%) usr 0.37 (25%) sys 1.43 ( 1%) wall
tree gimplify : 0.14 ( 0%) usr 0.00 ( 0%) sys 0.14 ( 0%) wall
tree eh : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall
tree CFG construction : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall
tree STMT verifier : 0.04 ( 0%) usr 0.00 ( 0%) sys 0.04 ( 0%) wall
expand : 48.52 (40%) usr 0.10 ( 7%) sys 49.84 (40%) wall
jump : 0.03 ( 0%) usr 0.00 ( 0%) sys 0.03 ( 0%) wall
flow analysis : 0.04 ( 0%) usr 0.00 ( 0%) sys 0.04 ( 0%) wall
local alloc : 1.34 ( 1%) usr 0.04 ( 3%) sys 1.38 ( 1%) wall
global alloc : 65.86 (55%) usr 0.08 ( 5%) sys 66.21 (54%) wall
flow 2 : 0.02 ( 0%) usr 0.00 ( 0%) sys 0.02 ( 0%) wall
machine dep reorg : 0.59 ( 0%) usr 0.01 ( 1%) sys 0.60 ( 0%) wall
shorten branches : 0.27 ( 0%) usr 0.00 ( 0%) sys 0.27 ( 0%) wall
final : 0.39 ( 0%) usr 0.00 ( 0%) sys 0.40 ( 0%) wall
symout : 0.00 ( 0%) usr 0.02 ( 1%) sys 0.02 ( 0%) wall
rest of compilation : 0.24 ( 0%) usr 0.00 ( 0%) sys 0.24 ( 0%) wall
TOTAL : 120.67 1.49 123.66
Extra diagnostic checks enabled; compiler may run slowly.
Configure with --disable-checking to disable checks.
real 2m3.673s
user 2m0.670s
sys 0m1.490s
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16266
More information about the Gcc-bugs
mailing list