Adjust scan string for PIE
[official-gcc.git] / gcc / testsuite / gcc.dg / 20050111-2.c
blob17e59ce968c44474ed883d17d3c90e77d09b6e84
1 /* PR rtl-optimization/15139 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -funroll-loops" } */
5 void
6 foo (double **a, double **z)
8 long int i, j;
9 double d = -1.0;
11 for (i = 0; i < 6; i++)
12 for (j = 0; j < 5; j++)
13 d = z[i][j] > d ? z[i][j] : d;
15 for (i = 0; i < 6; i++)
16 for (j = 0; j < 5; j++)
17 z[i][j] /= d;
19 for (i = 0; i < 5; i++)
20 a[i][j] = z[i][j];