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 98289eb174cb19b2e57c88757f69ecd853e352c6..828ed02d93acb57f1303734cca1a725911277e70 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 06e2eba27d056d559a7094fe318c7ac03e5b6576..d9c3c42c30268c5fac9ecd6ac2c2265e27ea6712 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();