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]

reduce size of string literal in limits-stringlit.c


This test is taking 10 seconds to run and needs ~100M of space in
/tmp, which is a little high, and it doesn't really need to do that; a
1M string should be just as good as a 100M string for testing.

Bootstrapped & tested on powerpc-darwin8.

-- 
- Geoffrey Keating <geoffk@apple.com>

===File ~/patches/gcc-testsuite-reducestringlit.patch=======
2007-05-02  Geoffrey Keating  <geoffk@apple.com>

	* gcc.c-torture/compile-limits-stringlit.c: Reduce size of string.

Index: gcc/testsuite/gcc.c-torture/compile/limits-stringlit.c
===================================================================
--- gcc/testsuite/gcc.c-torture/compile/limits-stringlit.c	(revision 124343)
+++ gcc/testsuite/gcc.c-torture/compile/limits-stringlit.c	(working copy)
@@ -7,4 +7,4 @@
 #define STR7 STR6 STR6 STR6 STR6 STR6 STR6 STR6 STR6 STR6 STR6
 #define STR8 STR7 STR7 STR7 STR7 STR7 STR7 STR7 STR7 STR7 STR7
 
-char vlv[] = STR8;
+char vlv[] = STR6;
============================================================


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