1 /* { dg-do compile } */ 2 3 int x[1024], y[1024], z[1024], w[1024]; foo(void)4 void foo (void) 5 { 6 int i; 7 for (i = 1; i < 1024; ++i) 8 { 9 int a = x[i]; 10 int b = y[i]; 11 int c = x[i-1]; 12 int d = y[i-1]; 13 if (w[i]) 14 z[i] = (a + b) + (c + d); 15 } 16 } 17