This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
reduce size of string literal in limits-stringlit.c
- From: gkeating at apple dot com (Geoffrey Keating)
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 2 May 2007 17:24:36 -0700 (PDT)
- Subject: 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;
============================================================