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/15855] [3.4/4.0/4.1 Regression] g++ crash with -O2 and -O3 on input file


------- Additional Comments From rguenth at gcc dot gnu dot org  2005-09-16 08:14 -------
For a cut-down testcase (the one attached takes too much memory for my box)
detailled mem-report shows

tree-dfa.c:175 (create_stmt_ann)                   12749568: 2.0%    2932228:
1.0%         52: 0.0%          0: 0.0%     301574
tree-inline.c:2403 (copy_tree_r)                   19285144: 3.0%          0:
0.0%          0: 0.0%     162184: 0.3%     537068
tree-ssanames.c:147 (make_ssa_name)               201319404:31.0%          0:
0.0%      12792: 0.0%          0: 0.0%    3871773
tree-phinodes.c:156 (allocate_phi_node)           250714968:38.6%          0:
0.0%          0: 0.0%      11480: 0.0%    1956706
Total                                             649892049        291182446   
     47860808         47260199         12874808
source location                                     Garbage            Freed   
         Leak         Overhead            Times

where the ssa_names / phi_nodes are all allocated by DOM.  From the time-report:

 tree SSA incremental  :  19.21 (11%) usr   2.02 (30%) sys  21.23 (12%) wall 
365332 kB (40%) ggc
 tree operand scan     :  22.06 (13%) usr   0.26 ( 4%) sys  22.47 (12%) wall  
58811 kB ( 6%) ggc
 dominator optimization:  19.14 (11%) usr   0.13 ( 2%) sys  19.37 (11%) wall 
111380 kB (12%) ggc

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org


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


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