------- Comment #11 from amylaar at gcc dot gnu dot org  2006-02-14 18:11 
-------
(In reply to comment #10)
> Using gcc version 4.1.0 20051111 (experimental) I still get a segfault for the
> second test case with -O2.
I tried this testcase at -O2 on an i686-pc-linux-gnu X sh-elf compiler,
build from r110809 4.1 branch sources.
The compilation succeeded, but only after taking considerable time and memory:

 garbage collection    :  14.97 ( 4%) usr   0.08 ( 1%) sys  17.91 ( 4%) wall   
   0 kB ( 0%) ggc
 callgraph construction:   1.28 ( 0%) usr   0.03 ( 0%) sys   1.70 ( 0%) wall   
7352 kB ( 0%) ggc
 callgraph optimization:   0.30 ( 0%) usr   0.00 ( 0%) sys   0.44 ( 0%) wall   
2222 kB ( 0%) ggc
 ipa reference         :   0.92 ( 0%) usr   0.05 ( 1%) sys   1.26 ( 0%) wall   
 589 kB ( 0%) ggc
 ipa pure const        :   0.43 ( 0%) usr   0.01 ( 0%) sys   0.44 ( 0%) wall   
   0 kB ( 0%) ggc
 ipa type escape       :   0.87 ( 0%) usr   0.03 ( 0%) sys   0.90 ( 0%) wall   
   0 kB ( 0%) ggc
 cfg construction      :   0.17 ( 0%) usr   0.00 ( 0%) sys   0.25 ( 0%) wall   
2624 kB ( 0%) ggc
 cfg cleanup           :   3.04 ( 1%) usr   0.02 ( 0%) sys   3.51 ( 1%) wall   
2611 kB ( 0%) ggc
 trivially dead code   :   1.86 ( 0%) usr   0.00 ( 0%) sys   2.32 ( 0%) wall   
   0 kB ( 0%) ggc
 life analysis         :   6.79 ( 2%) usr   0.01 ( 0%) sys   7.45 ( 2%) wall   
9873 kB ( 1%) ggc
 life info update      :   1.55 ( 0%) usr   0.00 ( 0%) sys   1.55 ( 0%) wall   
 414 kB ( 0%) ggc
 alias analysis        :   3.81 ( 1%) usr   0.02 ( 0%) sys   3.48 ( 1%) wall  
21571 kB ( 1%) ggc
 register scan         :   1.59 ( 0%) usr   0.00 ( 0%) sys   1.87 ( 0%) wall   
  53 kB ( 0%) ggc
 rebuild jump labels   :   0.55 ( 0%) usr   0.00 ( 0%) sys   0.69 ( 0%) wall   
   0 kB ( 0%) ggc
 preprocessing         :   0.51 ( 0%) usr   0.15 ( 2%) sys   0.70 ( 0%) wall   
 860 kB ( 0%) ggc
 parser                :  31.60 ( 8%) usr   1.70 (26%) sys  59.38 (12%) wall 
429280 kB (22%) ggc
 name lookup           :  26.28 ( 7%) usr   1.02 (16%) sys  39.72 ( 8%) wall  
98782 kB ( 5%) ggc
 inline heuristics     :   2.50 ( 1%) usr   0.03 ( 0%) sys   3.65 ( 1%) wall  
20713 kB ( 1%) ggc
 integration           :  14.46 ( 4%) usr   0.21 ( 3%) sys  16.17 ( 3%) wall 
497862 kB (26%) ggc
 tree gimplify         :   2.57 ( 1%) usr   0.11 ( 2%) sys   4.32 ( 1%) wall  
21613 kB ( 1%) ggc
 tree eh               :   0.25 ( 0%) usr   0.01 ( 0%) sys   0.20 ( 0%) wall   
9184 kB ( 0%) ggc
 tree CFG construction :   0.25 ( 0%) usr   0.01 ( 0%) sys   0.42 ( 0%) wall  
27982 kB ( 1%) ggc
 tree CFG cleanup      :   8.05 ( 2%) usr   0.03 ( 0%) sys   8.90 ( 2%) wall  
11678 kB ( 1%) ggc
 tree VRP              :   5.58 ( 1%) usr   0.08 ( 1%) sys   6.31 ( 1%) wall  
15592 kB ( 1%) ggc
 tree copy propagation :   6.50 ( 2%) usr   0.07 ( 1%) sys   7.54 ( 2%) wall   
2970 kB ( 0%) ggc
 tree store copy prop  :   0.85 ( 0%) usr   0.00 ( 0%) sys   1.05 ( 0%) wall   
 548 kB ( 0%) ggc
 tree find ref. vars   :   2.62 ( 1%) usr   0.03 ( 0%) sys   2.71 ( 1%) wall  
59145 kB ( 3%) ggc
 tree PTA              :  16.01 ( 4%) usr   0.26 ( 4%) sys  18.09 ( 4%) wall  
24558 kB ( 1%) ggc
 tree alias analysis   :  47.66 (12%) usr   0.34 ( 5%) sys  52.02 (11%) wall  
51451 kB ( 3%) ggc
 tree PHI insertion    :   2.54 ( 1%) usr   0.02 ( 0%) sys   3.11 ( 1%) wall   
5517 kB ( 0%) ggc
 tree SSA rewrite      :   8.76 ( 2%) usr   0.07 ( 1%) sys   9.63 ( 2%) wall  
77124 kB ( 4%) ggc
 tree SSA other        :   2.20 ( 1%) usr   0.10 ( 2%) sys   2.76 ( 1%) wall   
   0 kB ( 0%) ggc
 tree SSA incremental  :  22.75 ( 6%) usr   0.08 ( 1%) sys  23.76 ( 5%) wall  
24697 kB ( 1%) ggc
 tree operand scan     :  13.30 ( 3%) usr   0.72 (11%) sys  15.76 ( 3%) wall  
52656 kB ( 3%) ggc
 dominator optimization:  12.11 ( 3%) usr   0.10 ( 2%) sys  13.18 ( 3%) wall  
53470 kB ( 3%) ggc
 tree SRA              :   0.72 ( 0%) usr   0.00 ( 0%) sys   0.90 ( 0%) wall   
3665 kB ( 0%) ggc
 tree STORE-CCP        :   1.03 ( 0%) usr   0.01 ( 0%) sys   1.14 ( 0%) wall   
 631 kB ( 0%) ggc
 tree CCP              :   3.04 ( 1%) usr   0.04 ( 1%) sys   3.17 ( 1%) wall   
4438 kB ( 0%) ggc
 tree split crit edges :   0.25 ( 0%) usr   0.00 ( 0%) sys   0.30 ( 0%) wall  
10179 kB ( 1%) ggc
 tree reassociation    :   0.20 ( 0%) usr   0.00 ( 0%) sys   0.25 ( 0%) wall   
   5 kB ( 0%) ggc
 tree PRE              :   4.01 ( 1%) usr   0.01 ( 0%) sys   4.45 ( 1%) wall  
18095 kB ( 1%) ggc
 tree FRE              :   6.31 ( 2%) usr   0.04 ( 1%) sys   6.87 ( 1%) wall  
28684 kB ( 1%) ggc
 tree code sinking     :   0.75 ( 0%) usr   0.01 ( 0%) sys   0.85 ( 0%) wall   
 119 kB ( 0%) ggc
 tree linearize phis   :   0.13 ( 0%) usr   0.01 ( 0%) sys   0.09 ( 0%) wall   
   8 kB ( 0%) ggc
 tree forward propagate:   1.36 ( 0%) usr   0.08 ( 1%) sys   1.38 ( 0%) wall  
32826 kB ( 2%) ggc
 tree conservative DCE :   4.26 ( 1%) usr   0.00 ( 0%) sys   4.94 ( 1%) wall   
   0 kB ( 0%) ggc
 tree aggressive DCE   :   0.80 ( 0%) usr   0.00 ( 0%) sys   0.81 ( 0%) wall   
   0 kB ( 0%) ggc
 tree DSE              :   0.67 ( 0%) usr   0.00 ( 0%) sys   0.68 ( 0%) wall   
 600 kB ( 0%) ggc
 PHI merge             :   0.08 ( 0%) usr   0.00 ( 0%) sys   0.12 ( 0%) wall   
 865 kB ( 0%) ggc
 tree loop bounds      :   0.34 ( 0%) usr   0.00 ( 0%) sys   0.46 ( 0%) wall   
1907 kB ( 0%) ggc
 loop invariant motion :   0.42 ( 0%) usr   0.00 ( 0%) sys   0.58 ( 0%) wall   
   9 kB ( 0%) ggc
 tree canonical iv     :   0.23 ( 0%) usr   0.00 ( 0%) sys   0.29 ( 0%) wall   
2359 kB ( 0%) ggc
 scev constant prop    :   0.27 ( 0%) usr   0.00 ( 0%) sys   0.28 ( 0%) wall   
1549 kB ( 0%) ggc
 complete unrolling    :   1.83 ( 0%) usr   0.01 ( 0%) sys   2.02 ( 0%) wall  
11811 kB ( 1%) ggc
 tree iv optimization  :   0.93 ( 0%) usr   0.00 ( 0%) sys   1.13 ( 0%) wall   
8685 kB ( 0%) ggc
 tree loop init        :   0.88 ( 0%) usr   0.00 ( 0%) sys   1.01 ( 0%) wall   
  11 kB ( 0%) ggc
 tree copy headers     :   0.48 ( 0%) usr   0.00 ( 0%) sys   0.54 ( 0%) wall   
5509 kB ( 0%) ggc
 tree SSA uncprop      :   0.18 ( 0%) usr   0.00 ( 0%) sys   0.14 ( 0%) wall   
   0 kB ( 0%) ggc
 tree SSA to normal    :   2.07 ( 1%) usr   0.02 ( 0%) sys   2.45 ( 1%) wall   
8324 kB ( 0%) ggc
 tree NRV optimization :   0.02 ( 0%) usr   0.00 ( 0%) sys   0.03 ( 0%) wall   
   7 kB ( 0%) ggc
 tree rename SSA copies:   1.01 ( 0%) usr   0.02 ( 0%) sys   1.20 ( 0%) wall   
   5 kB ( 0%) ggc
 dominance frontiers   :   2.44 ( 1%) usr   0.02 ( 0%) sys   2.38 ( 0%) wall   
   0 kB ( 0%) ggc
 control dependences   :   0.14 ( 0%) usr   0.00 ( 0%) sys   0.13 ( 0%) wall   
   0 kB ( 0%) ggc
 expand                :  13.85 ( 4%) usr   0.11 ( 2%) sys  15.32 ( 3%) wall  
86098 kB ( 4%) ggc
 varconst              :  12.42 ( 3%) usr   0.11 ( 2%) sys  18.13 ( 4%) wall   
6720 kB ( 0%) ggc
 jump                  :   0.47 ( 0%) usr   0.00 ( 0%) sys   0.54 ( 0%) wall   
5490 kB ( 0%) ggc
 CSE                   :   6.74 ( 2%) usr   0.02 ( 0%) sys   7.63 ( 2%) wall  
10366 kB ( 1%) ggc
 loop analysis         :   1.22 ( 0%) usr   0.00 ( 0%) sys   1.34 ( 0%) wall   
4965 kB ( 0%) ggc
 global CSE            :   0.28 ( 0%) usr   0.03 ( 0%) sys   0.27 ( 0%) wall   
   0 kB ( 0%) ggc
 CPROP 1               :   1.44 ( 0%) usr   0.00 ( 0%) sys   1.45 ( 0%) wall   
3613 kB ( 0%) ggc
 PRE                   :   2.82 ( 1%) usr   0.02 ( 0%) sys   3.13 ( 1%) wall   
2099 kB ( 0%) ggc
 CPROP 2               :   1.52 ( 0%) usr   0.00 ( 0%) sys   1.74 ( 0%) wall   
2155 kB ( 0%) ggc
 bypass jumps          :   1.45 ( 0%) usr   0.02 ( 0%) sys   1.82 ( 0%) wall   
2494 kB ( 0%) ggc
 CSE 2                 :   3.28 ( 1%) usr   0.01 ( 0%) sys   3.62 ( 1%) wall   
4452 kB ( 0%) ggc
 branch prediction     :   1.58 ( 0%) usr   0.00 ( 0%) sys   1.75 ( 0%) wall   
3154 kB ( 0%) ggc
 flow analysis         :   0.15 ( 0%) usr   0.00 ( 0%) sys   0.15 ( 0%) wall   
   1 kB ( 0%) ggc
 combiner              :   3.96 ( 1%) usr   0.03 ( 0%) sys   4.53 ( 1%) wall   
6387 kB ( 0%) ggc
 if-conversion         :   0.44 ( 0%) usr   0.00 ( 0%) sys   0.41 ( 0%) wall   
 125 kB ( 0%) ggc
 regmove               :   3.03 ( 1%) usr   0.00 ( 0%) sys   3.30 ( 1%) wall   
 149 kB ( 0%) ggc
 local alloc           :   3.94 ( 1%) usr   0.01 ( 0%) sys   4.77 ( 1%) wall   
6659 kB ( 0%) ggc
 global alloc          :   8.65 ( 2%) usr   0.00 ( 0%) sys   9.67 ( 2%) wall  
16429 kB ( 1%) ggc
 reload CSE regs       :   4.42 ( 1%) usr   0.00 ( 0%) sys   5.03 ( 1%) wall   
7198 kB ( 0%) ggc
 flow 2                :   0.44 ( 0%) usr   0.00 ( 0%) sys   0.63 ( 0%) wall   
5754 kB ( 0%) ggc
 if-conversion 2       :   0.23 ( 0%) usr   0.00 ( 0%) sys   0.33 ( 0%) wall   
   5 kB ( 0%) ggc
 peephole 2            :   0.64 ( 0%) usr   0.00 ( 0%) sys   0.88 ( 0%) wall   
   0 kB ( 0%) ggc
 rename registers      :   1.57 ( 0%) usr   0.03 ( 0%) sys   1.53 ( 0%) wall   
 143 kB ( 0%) ggc
 scheduling 2          :   5.91 ( 2%) usr   0.01 ( 0%) sys   6.85 ( 1%) wall  
27695 kB ( 1%) ggc
 machine dep reorg     :   3.34 ( 1%) usr   0.02 ( 0%) sys   3.54 ( 1%) wall  
19529 kB ( 1%) ggc
 delay branch sched    :   0.99 ( 0%) usr   0.00 ( 0%) sys   1.09 ( 0%) wall   
9750 kB ( 1%) ggc
 reorder blocks        :   0.51 ( 0%) usr   0.00 ( 0%) sys   0.58 ( 0%) wall   
2475 kB ( 0%) ggc
 shorten branches      :   0.19 ( 0%) usr   0.00 ( 0%) sys   0.26 ( 0%) wall   
   8 kB ( 0%) ggc
 final                 :   3.77 ( 1%) usr   0.30 ( 5%) sys   4.99 ( 1%) wall   
7964 kB ( 0%) ggc
 symout                :   0.09 ( 0%) usr   0.00 ( 0%) sys   0.08 ( 0%) wall   
 679 kB ( 0%) ggc
 TOTAL                 : 389.71             6.49           477.34           
1916596 kB

Are you sure you have enough virtual memory to compile this test case?


-- 

amylaar at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joern dot rennecke at st dot
                   |                            |com


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

Reply via email to