This is the mail archive of the gcc-bugs@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]

[Bug regression/16266] [3.5 regression] gcc.dg/c99-intconst-1.c compilation is very slow


------- Additional Comments From joern dot rennecke at superh dot com  2004-06-29 16:05 -------
Subject: Re:  [3.5 regression] gcc.dg/c99-intconst-1.c compilation is very slow

> 
> 
> ------- Additional Comments From reichelt at gcc dot gnu dot org  2004-06-29 14:38 -------
> Maybe the 3.5 version is using wrong parameters for the garbage collection.
> 3.4 uses: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
> 3.5 uses: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
> 
> Could you test 3.5 with the same parameters as 3.4?

That doesn't seem to make any noticable difference:

bash-2.05$ time /swbuild/nightly/2004-06-28/sh-elf/gcc/cc1  -v -iprefix /swbuild
/nightly/2004-06-28/sh-elf/gcc/../lib/gcc/sh-elf/3.5.0/ -isystem /swbuild/nightl
y/2004-06-28/sh-elf/gcc/include -DSTACK_SIZE=16384 -isystem /swbuild/nightly/200
4-06-28/sh-elf/sh-elf/./newlib/targ-include -isystem /swbuild/nightly/2004-06-28
/srcw/newlib/libc/include /swbuild/nightly/2004-06-28/srcw/gcc/testsuite/gcc.dg/
c99-intconst-1.c  -dumpbase c99-intconst-1.c -auxbase-strip c99-intconst-1.s -pe
dantic-errors -std=iso9899:1999 -version -o c99-intconst-1.s --param ggc-min-exp
and=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/swbuild/nightly/2004-06-28/sh-elf/gcc/../lib/gc
c/sh-elf/3.5.0/include"
ignoring nonexistent directory "/swbuild/nightly/2004-06-28/sh-elf/gcc/../lib/gc
c/sh-elf/3.5.0/../../../../sh-elf/sys-include"
ignoring nonexistent directory "/swbuild/nightly/2004-06-28/sh-elf/gcc/../lib/gc
c/sh-elf/3.5.0/../../../../sh-elf/include"
ignoring nonexistent directory "/usr/local/lib/gcc/sh-elf/3.5.0/include"
ignoring nonexistent directory "/usr/local/lib/../sh-elf/sys-include"
ignoring nonexistent directory "/usr/local/lib/../sh-elf/include"
#include "..." search starts here:
#include <...> search starts here:
 /swbuild/nightly/2004-06-28/sh-elf/gcc/include
 /swbuild/nightly/2004-06-28/sh-elf/sh-elf/./newlib/targ-include
 /swbuild/nightly/2004-06-28/srcw/newlib/libc/include
End of search list.
GNU C version 3.5.0 20040628 (experimental) (sh-elf)
        compiled by GNU C version 2.96 20000731 (Red Hat Linux 7.1 2.96-98).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
options passed:  -v -iprefix -isystem -DSTACK_SIZE=16384 -isystem -isystem
 -auxbase-strip -pedantic-errors -std=iso9899:1999 --param --param
options enabled:  -falign-loops -fargument-alias -fbranch-count-reg
 -fcommon -feliminate-unused-debug-types -ffunction-cse -fgcse-las
 -fgcse-lm -fgcse-sm -fident -fkeep-static-consts -fleading-underscore
 -floop-optimize2 -fmath-errno -fpeephole -freg-struct-return
 -fsched-interblock -fsched-spec -fsched-stalled-insns-dep -fvar-tracking
 -fweb -fzero-initialized-in-bss -m1
 foo

Execution times (seconds)
 CFG verifier          :   0.59 ( 0%) usr   0.00 ( 0%) sys   0.58 ( 0%) wall
 trivially dead code   :   0.09 ( 0%) usr   0.00 ( 0%) sys   0.09 ( 0%) wall
 life analysis         :   0.31 ( 0%) usr   0.03 ( 1%) sys   0.34 ( 0%) wall
 life info update      :   0.15 ( 0%) usr   0.00 ( 0%) sys   0.15 ( 0%) wall
 register scan         :   0.14 ( 0%) usr   0.01 ( 0%) sys   0.15 ( 0%) wall
 rebuild jump labels   :   0.05 ( 0%) usr   0.00 ( 0%) sys   0.05 ( 0%) wall
 preprocessing         :   1.19 ( 0%) usr   0.14 ( 5%) sys   1.25 ( 0%) wall
 lexical analysis      :   0.86 ( 0%) usr   0.41 (15%) sys   1.17 ( 0%) wall
 parser                :   2.29 ( 1%) usr   0.29 (11%) sys   2.74 ( 1%) wall
 tree gimplify         :   0.37 ( 0%) usr   0.01 ( 0%) sys   0.37 ( 0%) wall
 tree eh               :   0.01 ( 0%) usr   0.00 ( 0%) sys   0.00 ( 0%) wall
 tree CFG construction :   0.02 ( 0%) usr   0.00 ( 0%) sys   0.03 ( 0%) wall
 tree STMT verifier    :   0.04 ( 0%) usr   0.00 ( 0%) sys   0.04 ( 0%) wall
 expand                : 112.18 (44%) usr   0.15 ( 6%) sys 112.52 (44%) wall
 jump                  :   0.04 ( 0%) usr   0.00 ( 0%) sys   0.04 ( 0%) wall
 flow analysis         :   0.07 ( 0%) usr   0.00 ( 0%) sys   0.07 ( 0%) wall
 local alloc           :   2.58 ( 1%) usr   0.04 ( 1%) sys   2.60 ( 1%) wall
 global alloc          : 128.85 (51%) usr   0.65 (24%) sys 129.50 (51%) wall
 flow 2                :   0.05 ( 0%) usr   0.00 ( 0%) sys   0.04 ( 0%) wall
 machine dep reorg     :   1.03 ( 0%) usr   0.01 ( 0%) sys   1.05 ( 0%) wall
 shorten branches      :   0.50 ( 0%) usr   0.00 ( 0%) sys   0.50 ( 0%) wall
 final                 :   0.67 ( 0%) usr   0.93 (35%) sys   1.71 ( 1%) wall
 symout                :   0.00 ( 0%) usr   0.00 ( 0%) sys   0.01 ( 0%) wall
 rest of compilation   :   0.83 ( 0%) usr   0.00 ( 0%) sys   0.84 ( 0%) wall
 TOTAL                 : 252.92             2.67           255.87
Extra diagnostic checks enabled; compiler may run slowly.
Configure with --disable-checking to disable checks.

real    4m15.363s
user    4m12.920s
sys     0m2.690s


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16266


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