i discovered one more problem with 4.3 branch head with patch suggested
in comment http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36498#c7

stats:
gcc-4.3-20080417   : ~500MB, 50 seconds.
gcc-4.3-head+patch : 5GB, 100% cpu, 40 minutes and still going...

# command line:
x86_64-gnu-linux-g++ esClockAnalyzerPrimitivesInitialization.ii \
                     -c -std=gnu++0x -g0 -O2

(gdb) bt
#0  0x0000000000703f4f in VN_INFO ()
#1  0x00000000007082ab in run_scc_vn ()
#2  0x00000000006fe95b in execute_pre ()
#3  0x00000000006ff27e in execute_fre ()
#4  0x00000000005f4c18 in execute_one_pass ()
#5  0x00000000005f4dac in execute_pass_list ()
#6  0x00000000005f4dbe in execute_pass_list ()
#7  0x0000000000697b22 in tree_rest_of_compilation ()
#8  0x0000000000796002 in cgraph_expand_function ()
#9  0x000000000079774e in cgraph_optimize ()
#10 0x000000000044864f in cp_write_global_declarations ()
#11 0x000000000066628e in toplev_main ()
#12 0x00002b6fe60a34a4 in __libc_start_main () from /lib64/libc.so.6
#13 0x0000000000402709 in _start ()


-- 
           Summary: [4.3 Regression] time/memory hog for c++ source.
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
GCC target triplet: x86_64-gnu-linux


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

Reply via email to