This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[testsuite] Reduce memory usage of gcc.dg/graphite/interchange-9.c
- From: Jie Zhang <jie at codesourcery dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: sebastian dot pop at amd dot com
- Date: Thu, 12 Aug 2010 00:15:32 +0800
- Subject: [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;