re PR middle-end/89551 (Test case gcc.dg/uninit-pred-8_b.c fails after r269302)
authorRichard Biener <rguenther@suse.de>
Wed, 6 Mar 2019 10:13:08 +0000 (10:13 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 6 Mar 2019 10:13:08 +0000 (10:13 +0000)
2019-03-06  Richard Biener  <rguenther@suse.de>

PR testsuite/89551
* gcc.dg/uninit-pred-8_b.c: Force logical-op-non-short-circuit
the way that makes the testcase PASS.

From-SVN: r269416

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/uninit-pred-8_b.c

index 98289eb..828ed02 100644 (file)
@@ -1,3 +1,9 @@
+2019-03-06  Richard Biener  <rguenther@suse.de>
+
+       PR testsuite/89551
+       * gcc.dg/uninit-pred-8_b.c: Force logical-op-non-short-circuit
+       the way that makes the testcase PASS.
+
 2019-03-05  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/89590
index 06e2eba..d9c3c42 100644 (file)
@@ -1,6 +1,7 @@
-
 /* { dg-do compile } */
-/* { dg-options "-Wuninitialized -O2" } */
+/* ???  Jump threading makes a mess of the logical-op-non-short-circuit=0 case
+   so force it our way.  */
+/* { dg-options "-Wuninitialized -O2 --param logical-op-non-short-circuit=1" } */
 
 int g;
 void bar();