[Bug tree-optimization/19876] [4.0 Regression] g++ starts eating all the memory and the CPU

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Feb 10 22:09:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-10 19:04 -------
Reverting the following patch fixes the bug:
2005-01-14  Steven Bosscher  <stevenb@suse.de>

        * tree-ssa-dce.c (visited_control_parents): New sbitmap to
        replace BB_VISITED uses.
        (find_obviously_necessary_stmts): Don't clear BB_VISITED.
        (propagate_necessity): Check the bitmap instead of BB_VISITED.
        (tree_dce_done): Free visited_control_parents.
        (perform_tree_ssa_dce): Allocate and clear it.
        * tree-ssa-pre.c (compute_antic_aux): Make non-recursive.
        (compute_antic): Iterate from here using a DFS.  Use an sbitmap
        instead of BB_VISITED.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |steven at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-10 19:04:05
               date|                            |


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



More information about the Gcc-bugs mailing list