From b7f9ee7fb89fc9c48f03970e8e6581c7bae58f5a Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Mon, 28 Aug 2023 19:27:41 +0000 Subject: 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. --- gcc/testsuite/gcc.dg/tree-ssa/cond-bool-2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc') 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 */ -- cgit v1.1