This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug tree-optimization/28798] remove_phi_node attempts removal of a phi node resized by resize_phi_node
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: gcc-bugzilla at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 25 Aug 2006 11:19:30 -0400
- Subject: Re: [Bug tree-optimization/28798] remove_phi_node attempts removal of a phi node resized by resize_phi_node
- References: <bug-28798-7109@http.gcc.gnu.org/bugzilla/> <20060824152737.30762.qmail@sourceware.org>
hosking at cs dot purdue dot edu wrote:
> ------- Comment #13 from hosking at cs dot purdue dot edu 2006-08-24 15:27 -------
> Is this enough?
>
> Here is the dump output, followed by stack traces at the resize and remove
> points (the remove goes on to fail).
So, this edge can't exist.
Note:
> Its src is:
>
> (gdb) p *(e->src)
> $12 = {
> index = 0,
> }
>
> Its dest is:
>
> (gdb) p *(e->dest)
> $13 = {
> index = 0,
> }
>
It claims to be an edge from block 0 to block 0, but your according to
your dump, block 0 is not a successor of block 0 (IE it is not a self loop).
--Dan