[Bug middle-end/35204] [4.3 Regression] crash by too deep recursion in DFS tree-ssa-sccvn.c:1898

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Feb 16 11:24:00 GMT 2008



------- Comment #16 from rguenth at gcc dot gnu dot org  2008-02-16 11:23 -------
The problem with doing a non-recursive version of DFS as for GCC SCCVN is to
"split" the FOR_EACH_PHI_OR_STMT_USE walk.  You would need to open-code this
and keep a stack of ssa_op_iters, ugly but certainly not impossible.

Steven, did you try something along this route?


-- 


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



More information about the Gcc-bugs mailing list