aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@marvell.com>2023-08-28 19:27:41 +0000
committerAndrew Pinski <apinski@marvell.com>2023-08-28 19:31:34 +0000
commitb7f9ee7fb89fc9c48f03970e8e6581c7bae58f5a (patch)
treeb761cecf9e72b0903c66af2c37fb31015e71e52e /gcc
parentc3669bb677bdffeaaee0d88ab4104cc6806643fd (diff)
downloadgcc-b7f9ee7fb89fc9c48f03970e8e6581c7bae58f5a.zip
gcc-b7f9ee7fb89fc9c48f03970e8e6581c7bae58f5a.tar.gz
gcc-b7f9ee7fb89fc9c48f03970e8e6581c7bae58f5a.tar.bz2
Fix cond-bool-2.c on powerpc and other targets
This adds `--param logical-op-non-short-circuit=1` to the tescase so it becomes a target indepdendent testcase now. I filed PR 111217 as the variant of the testcase which fails indepdendently of the param. Committed as obvious after testing to make sure it passes on powerpc now. gcc/testsuite/ChangeLog: PR testsuite/111215 * gcc.dg/tree-ssa/cond-bool-2.c: Add `--param logical-op-non-short-circuit=1` to the options.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/cond-bool-2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/cond-bool-2.c b/gcc/testsuite/gcc.dg/tree-ssa/cond-bool-2.c
index b3e7e25..7de89cc 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/cond-bool-2.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/cond-bool-2.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-optimized-raw" } */
+/* { dg-options "-O2 --param logical-op-non-short-circuit=1 -fdump-tree-optimized-raw" } */
/* PR tree-optimization/95929 */