aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>2021-04-16 07:48:34 +0200
committerStefan Schulze Frielinghaus <stefansf@linux.ibm.com>2021-04-16 07:48:34 +0200
commit76c7e7d6b003a17d183d0571bf9b34c691819d25 (patch)
tree10ed13839bedda29958d3e2c76c48ee0389d4cdd
parent89c863488bc8c7315596bcb753173aa2fd8be727 (diff)
downloadgcc-76c7e7d6b003a17d183d0571bf9b34c691819d25.zip
gcc-76c7e7d6b003a17d183d0571bf9b34c691819d25.tar.gz
gcc-76c7e7d6b003a17d183d0571bf9b34c691819d25.tar.bz2
testsuite: Fix unroll-and-jam.c on IBM Z
For z10 and newer inner loops are completely unrolled which leaves no inner loops to jam which renders this testcase to fail. Reverting max-completely-peel-times to the default value fixes this testcase. gcc/testsuite/ChangeLog: * gcc.dg/unroll-and-jam.c: Revert max-completely-peel-times to the default value on IBM Z.
-rw-r--r--gcc/testsuite/gcc.dg/unroll-and-jam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/unroll-and-jam.c b/gcc/testsuite/gcc.dg/unroll-and-jam.c
index 7eb6421..b8f4f16 100644
--- a/gcc/testsuite/gcc.dg/unroll-and-jam.c
+++ b/gcc/testsuite/gcc.dg/unroll-and-jam.c
@@ -1,5 +1,6 @@
/* { dg-do run } */
/* { dg-options "-O3 -floop-unroll-and-jam -fno-tree-loop-im --param unroll-jam-min-percent=0 -fdump-tree-unrolljam-details" } */
+/* { dg-additional-options "--param max-completely-peel-times=16" { target { s390*-*-* } } } */
/* { dg-require-effective-target int32plus } */
#include <stdio.h>