Fix gcc.dg/graphite/run-id-1.c for Windows targets

Kai Tietz ktietz70@googlemail.com
Wed Oct 26 22:25:00 GMT 2011


2011/10/26 Joseph S. Myers <joseph@codesourcery.com>:
> 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  <joseph@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
> joseph@codesourcery.com

From my side patch is ok.

Thanks,
Kai



More information about the Gcc-patches mailing list