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  <rguent...@suse.de>
> 
>       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.

The testcase fails, because default options include -ansi -pedantic-errors
and the testcase isn't valid C89.

Fixed thusly, regtested on x86_64-linux, committed to trunk as obvious.

2016-02-16  Jakub Jelinek  <ja...@redhat.com>

        PR middle-end/69801
        * gcc.dg/pr69801.c: Add empty dg-options.

--- gcc/testsuite/gcc.dg/pr69801.c.jj   2016-02-16 10:11:14.000000000 +0100
+++ gcc/testsuite/gcc.dg/pr69801.c      2016-02-16 16:32:30.955386927 +0100
@@ -1,4 +1,6 @@
+/* PR middle-end/69801 */
 /* { dg-do compile } */
+/* { dg-options "" } */
 
 struct {
     char c[1];


        Jakub

Reply via email to