This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] PR31677 fixed by passing --param sra-max-structure-size=32
- From: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 24 Dec 2007 14:26:45 -0500
- Subject: [PATCH] PR31677 fixed by passing --param sra-max-structure-size=32
The attached patch modifies the gcc.dg/memcpy-1.c testcase to
pass "--param sra-max-structure-size=32" as suggested by Andrew
Pinksi in the bug report for PR 31677. This changes eliminates
the memcpy-1.c testsuite failures at -m32 on powerpc-apple-darwin9.
Okay for gcc trunk?
Jack
2007-12-24 Jack Howarth <howarth@bromo.med.uc.edu>
PR tree-optimization/31677
* gcc.dg/memcpy-1.c: Pass "--param sra-max-structure-size=32".
Index: gcc.dg/memcpy-1.c
===================================================================
--- gcc.dg/memcpy-1.c (revision 131159)
+++ gcc.dg/memcpy-1.c (working copy)
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-optimized" } */
+/* { dg-options "-O2 -fdump-tree-optimized --param sra-max-structure-size=32" } */
/* { dg-final { scan-tree-dump-times "nasty_local" 0 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
struct a {int a,b,c;} a;