Re: [PR80025] avoid cselib rtx_equal infinite recursion on XOR

2017-03-23 Thread Jakub Jelinek
On Tue, Mar 21, 2017 at 07:43:51PM -0300, Alexandre Oliva wrote: > When two VALUEs are recorded in the cselib equivalence table such that > they are equivalent to each other XORed with the same expression, if > we started a cselib equivalence test between say the odd one and the > even one, we'd en

[PR80025] avoid cselib rtx_equal infinite recursion on XOR

2017-03-21 Thread Alexandre Oliva
When two VALUEs are recorded in the cselib equivalence table such that they are equivalent to each other XORed with the same expression, if we started a cselib equivalence test between say the odd one and the even one, we'd end up recursing to compare the even one with the odd one, and then again,