public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-8217] testsuite: Fix pr83403-{1,2}.c on IBM Z
@ 2021-04-16 14:03 Stefan Schulze Frielinghaus
  0 siblings, 0 replies; only message in thread
From: Stefan Schulze Frielinghaus @ 2021-04-16 14:03 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:330ae1e54305f4755258d89469c1ad0d8479ef4c

commit r11-8217-g330ae1e54305f4755258d89469c1ad0d8479ef4c
Author: Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Date:   Fri Apr 16 16:03:07 2021 +0200

    testsuite: Fix pr83403-{1,2}.c on IBM Z
    
    For z10 and newer inner loops are completely unrolled which means store
    motion is not applied.  Reverting max-completely-peeled-insns to the
    default value fixes these testcases.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.dg/tree-ssa/pr83403-1.c: Revert
            max-completely-peeled-insns to the default value on IBM Z.
            * gcc.dg/tree-ssa/pr83403-2.c: Likewise.

Diff:
---
 gcc/testsuite/gcc.dg/tree-ssa/pr83403-1.c | 1 +
 gcc/testsuite/gcc.dg/tree-ssa/pr83403-2.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr83403-1.c b/gcc/testsuite/gcc.dg/tree-ssa/pr83403-1.c
index 748375b03af..bfc703d1aa6 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr83403-1.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr83403-1.c
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O3 -funroll-loops -fdump-tree-lim2-details" } */
+/* { dg-additional-options "--param max-completely-peeled-insns=200" { target { s390*-*-* } } } */
 
 #define TYPE unsigned int
 
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr83403-2.c b/gcc/testsuite/gcc.dg/tree-ssa/pr83403-2.c
index ca2e6bbd61c..9130d9bd583 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr83403-2.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr83403-2.c
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O3 -funroll-loops -fdump-tree-lim2-details" } */
+/* { dg-additional-options "--param max-completely-peeled-insns=200" { target { s390*-*-* } } } */
 
 #define TYPE int


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-16 14:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-16 14:03 [gcc r11-8217] testsuite: Fix pr83403-{1,2}.c on IBM Z Stefan Schulze Frielinghaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).