* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / irreducible-loop.c
blobe4be667c829e8cbfbebd7e32c778d8c7ff18cb54
1 void foo (int n, double a, double *b, double *x)
3 int i, j;
5 if(n <= 0) return;
6 if (a == 0.0e0) return;
8 if (a > 5.0)
10 i = 0;
11 goto sec;
13 for (i = 0; i < 1024; i++)
15 double y = b[i];
16 sec:
17 b[i+1] = y + 5.0;
18 for (j = 0; j < n; j++)
19 x[j] = x[j] + a;