Re: [PATCH, PR50769] Fix ICE in phi_alternatives_equal.

2011-11-02 Thread Tom de Vries
On 10/19/2011 05:33 PM, Richard Guenther wrote: > On Wed, Oct 19, 2011 at 10:23 AM, Tom de Vries wrote: >> Richard, >> >> For the example from the PR, -ftree-tail-merge discovers that blocks 6 and 7 >> are >> equal, removes block 7 and redirects the outgoing edge of it's predecessor >> block >>

Re: [PATCH, PR50769] Fix ICE in phi_alternatives_equal.

2011-10-19 Thread Richard Guenther
On Wed, Oct 19, 2011 at 10:23 AM, Tom de Vries wrote: > Richard, > > For the example from the PR, -ftree-tail-merge discovers that blocks 6 and 7 > are > equal, removes block 7 and redirects the outgoing edge of it's predecessor > block > 11 to block 6. > > Block 6 contains a phi, which after re

[PATCH, PR50769] Fix ICE in phi_alternatives_equal.

2011-10-19 Thread Tom de Vries
Richard, For the example from the PR, -ftree-tail-merge discovers that blocks 6 and 7 are equal, removes block 7 and redirects the outgoing edge of it's predecessor block 11 to block 6. Block 6 contains a phi, which after redirecting the edge from block 11 looks like this: ... .MEM_54 = PHI <.MEM