Andreas Krebbel1 <[EMAIL PROTECTED]> writes:

> it is important for the testcase that the array is that big. In order to
> avoid breaking other targets with that I've moved the testcase to the s390
> specific directory. I've already committed the patch. Sorry for the
> breakage.

If the test will run on most normal targets, then a better approach is
to add something like

#if defined(STACK_SIZE) && STACK_SIZE < 1000
  exit (0); /* or "return 0" from main, as appropriate"
#endif

See many examples of use of STACK_SIZE in gcc.c-torture/execute.

Ian

Reply via email to