From patchwork Wed Aug 11 16:15:32 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [testsuite] Reduce memory usage of gcc.dg/graphite/interchange-9.c From: Jie Zhang X-Patchwork-Id: 61486 Message-Id: <4C62CCA4.5060004@codesourcery.com> To: GCC Patches Cc: sebastian.pop@amd.com Date: Thu, 12 Aug 2010 00:15:32 +0800 According to Sebastian's suggestion: http://gcc.gnu.org/ml/gcc/2010-08/msg00188.html I wrote this patch to reduce the memory usage of gcc.dg/graphite/interchange-9.c. Tested on x86_64. OK? Regards, * gcc.dg/graphite/interchange-9.c (M): Define to be 111. (N): Likewise. (main): Adjust accordingly. Index: gcc.dg/graphite/interchange-9.c =================================================================== --- gcc.dg/graphite/interchange-9.c (revision 163100) +++ gcc.dg/graphite/interchange-9.c (working copy) @@ -5,8 +5,8 @@ #include #endif -#define N 1111 -#define M 1111 +#define N 111 +#define M 111 static int __attribute__((noinline)) foo (int *x) @@ -38,7 +38,7 @@ main (void) fprintf (stderr, "res = %d \n", res); #endif - if (res != 2468642) + if (res != 24642) abort (); return 0;