Patchwork [testsuite] Reduce memory usage of gcc.dg/graphite/interchange-9.c

login
register
mail settings
Submitter Jie Zhang
Date Aug. 11, 2010, 4:15 p.m.
Message ID <4C62CCA4.5060004@codesourcery.com>
Download mbox | patch
Permalink /patch/61486/
State New
Headers show

Comments

Jie Zhang - Aug. 11, 2010, 4:15 p.m.
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,
Richard Henderson - Aug. 11, 2010, 4:31 p.m.
On 08/11/2010 09:15 AM, Jie Zhang wrote:
> 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?

Ok.


r~
Jie Zhang - Aug. 11, 2010, 11:39 p.m.
On 08/12/2010 12:31 AM, Richard Henderson wrote:
> On 08/11/2010 09:15 AM, Jie Zhang wrote:
>> 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?
>
> Ok.
>
Thanks. Committed on trunk.

Patch


	* 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 <stdio.h>
 #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;