https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65515

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-03-24
                 CC|                            |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Btw, I can't see how this regressed in GCC 5 apart from maybe using some more
stack space per recursion of DFS_write_tree.  Even GCC 4.8 which didn't have
the DFS walk recursed on these during tree writing.

But yes, that DFS walk can use stack.  GCC can use quite some stack during
garbage collection as well.

Anyway, the real fix is to re-write the DFS walk to not use recursion but a
worklist.

Reply via email to