The test gcc.dg/graphite/run-id-1.c requires more stack space than
Windows targets provide by default.  This patch arranges for the
appropriate -Wl,--stack option (as in config/mh-mingw and
config/mh-cygwin) to be used by this test on those targets.  Tested
with cross to i686-mingw32.  OK to commit?

2011-10-26  Joseph Myers  <jos...@codesourcery.com>

        * gcc.dg/graphite/run-id-1.c: Pass -Wl,--stack,12582912 option for
        Windows targets.

Index: gcc.dg/graphite/run-id-1.c
===================================================================
--- gcc.dg/graphite/run-id-1.c  (revision 180200)
+++ gcc.dg/graphite/run-id-1.c  (working copy)
@@ -1,3 +1,4 @@
+/* { dg-options "-Wl,--stack,12582912" { target *-*-mingw* *-*-cygwin* } } */
 /* { dg-require-effective-target size32plus } */
 
 void abort (void);

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to