2018-05-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / pr71575-1.c
blob4a8623e3c04c23065542f886f9bd40fca2b8f937
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -floop-nest-optimize" } */
4 void w(int x, double *y)
6 int i, j;
7 double a;
8 double c[32];
10 for (i = 0; i < x; i++) {
11 for (j = 0; j < x - i; j++) {
12 c[j] = y[i];
14 y[i] = a;
15 a += c[0] + y[i];
19 void v(int x, double *y)
21 w(x, y);