This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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, -- Jie Zhang CodeSourcery
	* 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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]