Re: [PATCH] Fix up operand_equal_p (PR tree-optimization/56448)

2013-02-26 Thread Richard Biener
On Tue, Feb 26, 2013 at 7:46 AM, Jakub Jelinek wrote: > Hi! > > On the following testcase, VN during free keeps iterating forever, since > the unshare_expr call I've added to fix PR55935. The bug is that > when we have > volatile int a[1]; > and &a[0] expression, if we unshare_expr that expressio

[PATCH] Fix up operand_equal_p (PR tree-optimization/56448)

2013-02-25 Thread Jakub Jelinek
Hi! On the following testcase, VN during free keeps iterating forever, since the unshare_expr call I've added to fix PR55935. The bug is that when we have volatile int a[1]; and &a[0] expression, if we unshare_expr that expression, it doesn't compare operand_equal_p (exp, unshare_expr (exp), OEP_