diff options
author | Richard Biener <rguenther@suse.de> | 2019-03-06 10:13:08 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2019-03-06 10:13:08 +0000 |
commit | 3050b357660bf0425e0ac63c22960d2ec3af4572 (patch) | |
tree | 56fd85de993331d6873957d6460217db26db7a84 | |
parent | bb7c147fc8197a85a29f7d2d6e0f78331800edec (diff) | |
download | gcc-3050b357660bf0425e0ac63c22960d2ec3af4572.zip gcc-3050b357660bf0425e0ac63c22960d2ec3af4572.tar.gz gcc-3050b357660bf0425e0ac63c22960d2ec3af4572.tar.bz2 |
re PR middle-end/89551 (Test case gcc.dg/uninit-pred-8_b.c fails after r269302)
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
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | 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 98289eb..828ed02 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/gcc.dg/uninit-pred-8_b.c b/gcc/testsuite/gcc.dg/uninit-pred-8_b.c index 06e2eba..d9c3c42 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(); |