diff mbox

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

Message ID 4C62CCA4.5060004@codesourcery.com
State New
Headers show

Commit Message

Jie Zhang Aug. 11, 2010, 4:15 p.m. UTC
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,

Comments

Richard Henderson Aug. 11, 2010, 4:31 p.m. UTC | #1
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. UTC | #2
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.
diff mbox

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;