modernc.org/cc@v1.0.1/testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/execute/921208-2.c (about) 1 /* { dg-require-effective-target untyped_assembly } */ 2 #define STACK_REQUIREMENT (100000 * 4 + 1024) 3 #if defined (STACK_SIZE) && STACK_SIZE < STACK_REQUIREMENT 4 main () { exit (0); } 5 #else 6 7 g(){} 8 9 f() 10 { 11 int i; 12 float a[100000]; 13 14 for (i = 0; i < 1; i++) 15 { 16 g(1.0, 1.0 + i / 2.0 * 3.0); 17 g(2.0, 1.0 + i / 2.0 * 3.0); 18 } 19 } 20 21 main () 22 { 23 f(); 24 exit(0); 25 } 26 27 #endif