The attached patch fixes the s390x test failure reported here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78348
Tested on s390x biarch.

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany
gcc/testsuite/ChangeLog-pr78348

        PR 78348
        * gcc.dg/tree-ssa/ldist-24.c: Add "--param max-completely-peel-times=8"
        to dg-options.
>From b242b323e411a8833b8ee5c8d5185259ae4a4d29 Mon Sep 17 00:00:00 2001
From: Dominik Vogt <v...@linux.vnet.ibm.com>
Date: Mon, 6 Feb 2017 15:38:17 +0100
Subject: [PATCH] PR 78348: Limit amount of unrolling in test.

This prevents a FAIL in ldist-24.c on s390x.
---
 gcc/testsuite/gcc.dg/tree-ssa/ldist-24.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ldist-24.c 
b/gcc/testsuite/gcc.dg/tree-ssa/ldist-24.c
index 7ab79e6..75f7b8f 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/ldist-24.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/ldist-24.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O3 -fdump-tree-ldist-details" } */
+/* { dg-options "-O3 -fdump-tree-ldist-details --param 
max-completely-peel-times=8" } */
 
 typedef struct S {
     double z[8][25];
-- 
2.3.0

Reply via email to