1 /* PR tree-optimization/23929 */ 2 /* { dg-require-stack-size "2048+8" } */ 3 4 extern void bar (char *); 5 6 void foo(int n,char * z)7foo (int n, char *z) 8 { 9 char b[2048]; 10 int x, y; 11 12 bar (b); 13 for (y = 0; y < 60; y++) 14 if (n == 600) 15 for (x = 0; x < 320;) 16 { 17 *z++ = b[x]; 18 x += 1; 19 *z++ = b[x]; 20 x += 1; 21 } 22 } 23