]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite/108776 - avoid c-c++-common/rotate-11.c FAIL
authorRichard Biener <rguenther@suse.de>
Thu, 11 May 2023 07:13:31 +0000 (09:13 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 15 May 2023 08:23:38 +0000 (10:23 +0200)
On the branch ranger isn't powerful enough to handle some cases
appearing with logical-op-non-short-circuit evaluating to false
causing FAILs of the testcase for ppc64le and s390x.  The following
foces logical-op-non-short-circuit to true for this testcase
on the branch.

PR testsuite/108776
* c-c++-common/rotate-11.c: Add --param logical-op-non-short-circuit=1.

gcc/testsuite/c-c++-common/rotate-11.c

index e57db19d949ed9c3cc8e2eecbaa20102b0ef4fca..85cde2786e2bb5fc7d8d583060f849a0221d07c5 100644 (file)
@@ -1,6 +1,6 @@
 /* PR tree-optimization/108440 */
 /* { dg-do compile { target { { ilp32 || lp64 } || llp64 } } } */
-/* { dg-options "-O2 -fdump-tree-optimized" } */
+/* { dg-options "-O2 -fdump-tree-optimized --param logical-op-non-short-circuit=1" } */
 /* { dg-final { scan-tree-dump-times " r<< " 5 "optimized" } } */
 /* { dg-final { scan-tree-dump-times " \\\& 7;" 4 "optimized" } } */