From: Richard Biener Date: Wed, 6 Mar 2019 10:13:08 +0000 (+0000) Subject: re PR middle-end/89551 (Test case gcc.dg/uninit-pred-8_b.c fails after r269302) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3050b357660bf0425e0ac63c22960d2ec3af4572;p=gcc.git re PR middle-end/89551 (Test case gcc.dg/uninit-pred-8_b.c fails after r269302) 2019-03-06 Richard Biener 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 98289eb174c..828ed02d93a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-03-06 Richard Biener + + 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 PR middle-end/89590 diff --git a/gcc/testsuite/gcc.dg/uninit-pred-8_b.c b/gcc/testsuite/gcc.dg/uninit-pred-8_b.c index 06e2eba27d0..d9c3c42c302 100644 --- a/gcc/testsuite/gcc.dg/uninit-pred-8_b.c +++ b/gcc/testsuite/gcc.dg/uninit-pred-8_b.c @@ -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();