Hi,

with -march=z10 we use much higher values for peel and unroll limits.
This makes the loop in the testcase to disappear on tree level
already.  With the patch these values are set back to the default
values making the testcase to pass again.

Committed to mainline

Bye,

-Andreas-

2015-03-05  Andreas Krebbel  <kreb...@linux.vnet.ibm.com>

        * gcc.dg/var-expand1.c: Force max-completely-peel-times and
        max-unroll-times back to defaults for s390.

diff --git a/gcc/testsuite/gcc.dg/var-expand1.c 
b/gcc/testsuite/gcc.dg/var-expand1.c
index 7de4cfb..fb039d3 100644
--- a/gcc/testsuite/gcc.dg/var-expand1.c
+++ b/gcc/testsuite/gcc.dg/var-expand1.c
@@ -3,6 +3,7 @@
    targets, where each addition is a library call.  */
 /* { dg-require-effective-target hard_float } */
 /* { dg-options "-O2 -funroll-loops --fast-math 
-fvariable-expansion-in-unroller -fdump-rtl-loop2_unroll" } */
+/* { dg-additional-options "--param max-completely-peel-times=16  --param 
max-unroll-times=8" { target s390*-*-* } } */
 
 extern void abort (void);
 

Reply via email to