1 #if __INT_MAX__ < 32768 || (defined(STACK_SIZE) && STACK_SIZE < 0x12000) main()2int main () { exit (0); } 3 #else 4 int a[2] = { 2, 3 }; 5 6 static int __attribute__((noinline)) bar(int x,void * b)7bar (int x, void *b) 8 { 9 a[0]++; 10 return x; 11 } 12 13 static int __attribute__((noinline)) foo(int x)14foo (int x) 15 { 16 char buf[0x10000]; 17 int y = a[0]; 18 a[1] = y; 19 x = bar (x, buf); 20 y = bar (y, buf); 21 return x + y; 22 } 23 24 int main()25main () 26 { 27 if (foo (100) != 102) 28 abort (); 29 exit (0); 30 } 31 #endif 32