1 /* { dg-add-options stack_size } */
3 /* PR optimization/8750
4 Used to fail under Cygwin with
5 -O2 -fomit-frame-pointer
6 Testcase by David B. Trout */
8 #if defined(STACK_SIZE) && STACK_SIZE < 16000
9 #define ARRAY_SIZE (STACK_SIZE / 2)
10 #define STRLEN (ARRAY_SIZE - 9)
12 #define ARRAY_SIZE 15000
16 extern void *memset (void *, int, __SIZE_TYPE__
);
17 extern void abort (void);
24 memset( &a
[0], 0xCD, STRLEN
);
26 if (strlen(a
) != STRLEN
)
30 int main ( int argc
, char* argv
[] )