20030209-1.c: Disable the test if STACK_SIZE is too small.
authorKazu Hirata <kazu@cs.umass.edu>
Wed, 12 Feb 2003 14:33:24 +0000 (14:33 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Wed, 12 Feb 2003 14:33:24 +0000 (14:33 +0000)
* gcc.c-torture/execute/20030209-1.c: Disable the test if
STACK_SIZE is too small.

From-SVN: r62766

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20030209-1.c

index fd9d5501d3aa85a866bdff2055a0529e91ac78b7..b37434f9440d21673d0e06276b09e5d8b9183300 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-12  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * gcc.c-torture/execute/20030209-1.c: Disable the test if
+       STACK_SIZE is too small.
+
 2003-02-10  Eric Botcazou  <ebotcazou@libertysurf.fr>
             Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
 
index c6aa77db1c76ee6f2b876ae69b852bb4b9e8e1da..9a68ef4a800b0e85f83604fae8be71c4aeb09378 100644 (file)
@@ -1,3 +1,10 @@
+#ifdef STACK_SIZE
+#if STACK_SIZE >= 8*100*100
+#define OK
+#endif
+#endif
+
+#ifdef OK
 double x[100][100];
 int main ()
 {
@@ -9,3 +16,10 @@ int main ()
     abort ();
   exit (0);
 }
+#else
+int
+main ()
+{
+  exit (0);
+}
+#endif