[Bug tree-optimization/18712] [4.0 Regression] ICE: vector VEC(basic_block) push domain error, in insert_phi_nodes_for at tree-into-ssa.c:1049

dnovillo at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 29 19:20:00 GMT 2004


------- Additional Comments From dnovillo at gcc dot gnu dot org  2004-11-29 19:20 -------
(In reply to comment #5)

> But that is not sufficient.  We are overflowing work_stack, when we really
> shouldn't.  I'm looking into this now.
> 
I was wrong.  It is indeed possible for WORK_STACK to have more than
N_BASIC_BLOCKS used.  For each block B with a definition for VAR, we add blocks
in B's DFS to the stack.  Steven's patch is almost right, but we also need to
pass WORK_STACK by reference.

Patch in testing.


Diego.

-- 


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



More information about the Gcc-bugs mailing list