From 3d27a3235ad17658334b6ffc8abb0bb0dbd49f47 Mon Sep 17 00:00:00 2001 From: Alan Lawrence Date: Wed, 21 Oct 2015 18:41:43 +0000 Subject: [PATCH] Add --param sra-max-scalarization-size-Ospeed to sra-12.c * gcc.dg/tree-ssa/sra-12.c: Enable test on all targets; add --param sra-max-scalarization-size-Ospeed. From-SVN: r229134 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/tree-ssa/sra-12.c | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4f10616178a..9ad226c2e08 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-10-21 Alan Lawrence + + * gcc.dg/tree-ssa/sra-12.c: Enable test on all targets; add --param + sra-max-scalarization-size-Ospeed. + 2015-10-21 Marek Polacek PR c/68024 diff --git a/gcc/testsuite/gcc.dg/tree-ssa/sra-12.c b/gcc/testsuite/gcc.dg/tree-ssa/sra-12.c index 427f7afefb8..139c7d150d1 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/sra-12.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/sra-12.c @@ -1,7 +1,6 @@ /* Verify that SRA total scalarization will not be confused by padding. */ -/* Test skipped for targets with small (often default) MOVE_RATIO. */ /* { dg-do compile } */ -/* { dg-options "-O1 -fdump-tree-release_ssa" } */ +/* { dg-options "-O1 --param sra-max-scalarization-size-Ospeed=16 -fdump-tree-release_ssa" } */ struct S { @@ -21,4 +20,4 @@ int foo (struct S *p) *p = l; } -/* { dg-final { scan-tree-dump-times "l;" 0 "release_ssa" { target { ! "aarch64*-*-* avr*-*-* nds32*-*-* sh*-*-*" } } } } */ +/* { dg-final { scan-tree-dump-times "l;" 0 "release_ssa" } } */ -- 2.30.2