Re: [PATCH] Fix PR69801

2016-02-16 Thread Marek Polacek
On Tue, Feb 16, 2016 at 09:39:10AM -0800, H.J. Lu wrote: > Index: gcc/testsuite/gcc.dg/pr69801.c > > === > > *** gcc/testsuite/gcc.dg/pr69801.c (revision 0) > > --- gcc/testsuite/gcc.dg/pr69801.c (working copy) > > *

Re: [PATCH] Fix PR69801

2016-02-16 Thread H.J. Lu
On Tue, Feb 16, 2016 at 12:35 AM, Richard Biener wrote: > > Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. > > Richard. > > 2016-02-16 Richard Biener > > PR middle-end/69801 > * fold-const.c (operand_equal_p): For COND_EXPR zero operand > mask OEP_ADDRESS_

Re: [PATCH] Fix PR69801

2016-02-16 Thread Jakub Jelinek
On Tue, Feb 16, 2016 at 09:35:25AM +0100, Richard Biener wrote: > > Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. > > Richard. > > 2016-02-16 Richard Biener > > PR middle-end/69801 > * fold-const.c (operand_equal_p): For COND_EXPR zero operand > mask OEP_ADD

[PATCH] Fix PR69801

2016-02-16 Thread Richard Biener
Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard. 2016-02-16 Richard Biener PR middle-end/69801 * fold-const.c (operand_equal_p): For COND_EXPR zero operand mask OEP_ADDRESS_OF. * gcc.dg/pr69801.c: New testcase. Index: gcc/fold-const.c =