From 3050b357660bf0425e0ac63c22960d2ec3af4572 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 6 Mar 2019 10:13:08 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/uninit-pred-8_b.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) 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(); -- 2.30.2