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 middle-end/12454] [tree-ssa] Regression in g++.dg/parse/stack1.C


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From steven at gcc dot gnu dot org  2003-10-11 16:51 -------
This test case works for me, and is even faster with tree-ssa than with mainline
(both with checking enabled):

$ ./cc1plus --version
GNU C++ version 3.5-tree-ssa 20031010 (merged 20031005) (i686-pc-linux-gnu)
        compiled by GNU C version 3.5-tree-ssa 20031010 (merged 20031005).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
$ time ./cc1plus -O stack1.C
 void foo()
 {GC 9203k -> 482k}
Execution times (seconds)
 garbage collection    :   0.02 ( 0%) usr   0.00 ( 0%) sys   0.02 ( 0%) wall
 preprocessing         :   0.08 ( 0%) usr   0.01 (12%) sys   0.10 ( 0%) wall
 parser                :   0.40 ( 1%) usr   0.04 (50%) sys   0.44 ( 1%) wall
 name lookup           :  54.70 (99%) usr   0.02 (25%) sys  54.81 (99%) wall
 integration           :   0.04 ( 0%) usr   0.00 ( 0%) sys   0.04 ( 0%) wall
 tree gimplify         :   0.16 ( 0%) usr   0.00 ( 0%) sys   0.16 ( 0%) wall
 expand                :   0.02 ( 0%) usr   0.00 ( 0%) sys   0.02 ( 0%) wall
 branch prediction     :   0.00 ( 0%) usr   0.01 (12%) sys   0.01 ( 0%) wall
 TOTAL                 :  55.44             0.08            55.62
 
real    0m55.644s
user    0m55.440s
sys     0m0.100s


$ ./cc1plus --version
GNU C++ version 3.4 20031005 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 3.4 20031005 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
$ time ./cc1plus -O stack1.C
 void foo()
 {GC 14967k -> 6215k}
Execution times (seconds)
 garbage collection    :   0.08 ( 0%) usr   0.00 ( 0%) sys   0.08 ( 0%) wall
 cfg construction      :  10.26 ( 9%) usr   0.00 ( 0%) sys  10.26 ( 9%) wall
 cfg cleanup           :  43.11 (36%) usr   0.00 ( 0%) sys  43.14 (36%) wall
 trivially dead code   :   0.01 ( 0%) usr   0.00 ( 0%) sys   0.01 ( 0%) wall
 rebuild jump labels   :   0.03 ( 0%) usr   0.00 ( 0%) sys   0.03 ( 0%) wall
 preprocessing         :   0.02 ( 0%) usr   0.01 (25%) sys   0.03 ( 0%) wall
 parser                :   0.50 ( 0%) usr   0.03 (75%) sys   0.53 ( 0%) wall
 name lookup           :  54.49 (46%) usr   0.00 ( 0%) sys  54.51 (46%) wall
 expand                :   0.08 ( 0%) usr   0.00 ( 0%) sys   0.08 ( 0%) wall
 integration           :   0.12 ( 0%) usr   0.00 ( 0%) sys   0.12 ( 0%) wall
 jump                  :  10.10 ( 8%) usr   0.00 ( 0%) sys  10.10 ( 8%) wall
 branch prediction     :   0.16 ( 0%) usr   0.00 ( 0%) sys   0.20 ( 0%) wall
 local alloc           :   0.00 ( 0%) usr   0.00 ( 0%) sys   0.01 ( 0%) wall
 global alloc          :   0.00 ( 0%) usr   0.00 ( 0%) sys   0.02 ( 0%) wall
 flow 2                :   0.00 ( 0%) usr   0.00 ( 0%) sys   0.01 ( 0%) wall
 rename registers      :   0.00 ( 0%) usr   0.00 ( 0%) sys   0.01 ( 0%) wall
 shorten branches      :   0.00 ( 0%) usr   0.00 ( 0%) sys   0.02 ( 0%) wall
 final                 :   0.00 ( 0%) usr   0.00 ( 0%) sys   0.01 ( 0%) wall
 symout                :   0.00 ( 0%) usr   0.00 ( 0%) sys   0.01 ( 0%) wall
 rest of compilation   :   0.08 ( 0%) usr   0.00 ( 0%) sys   0.10 ( 0%) wall
 TOTAL                 : 119.05             0.04           119.38
 
real    1m59.478s
user    1m59.050s
sys     0m0.050s


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