This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- From: "dnovillo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Nov 2004 19:20:36 -0000
- Subject: [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
- References: <20041129070207.18712.belyshev@lubercy.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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