2 20031012-1.c from the execute part of the gcc torture tests.
11 /* PR optimization/8750
12 Used to fail under Cygwin with
13 -O2 -fomit-frame-pointer
14 Testcase by David B. Trout */
16 #if defined(STACK_SIZE) && STACK_SIZE < 16000
17 #define ARRAY_SIZE (STACK_SIZE / 2)
18 #define STRLEN (ARRAY_SIZE - 9)
20 #define ARRAY_SIZE 15000
28 #if !defined (__SDCC_sm83) && !defined (__SDCC_mcs51) && !defined (__SDCC_stm8) && !defined (__SDCC_pdk14) && !defined (__SDCC_pdk15) && !defined (__SDCC_f8)
29 char a
[ARRAY_SIZE
]; /* Too big for mcs51 and gbz80 and stm8 and pdk14. */
31 memset( &a
[0], 0xCD, STRLEN
);
33 if (strlen(a
) != STRLEN
)
39 testTortureExecute (void)