public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Stefan Schulze Frielinghaus <stefansf@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r11-8217] testsuite: Fix pr83403-{1,2}.c on IBM Z
Date: Fri, 16 Apr 2021 14:03:23 +0000 (GMT)	[thread overview]
Message-ID: <20210416140323.96B88388E828@sourceware.org> (raw)

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


                 reply	other threads:[~2021-04-16 14:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210416140323.96B88388E828@sourceware.org \
    --to=stefansf@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).