blob: 66ecc3fa0208c3c3bb011c75b6582ca4a805374a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
/* { dg-options "-O2 -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops" } */
int foo(int k, int n)
{
int i;
for (i = 0; i < n; i += 8) {
int j;
for (j = 0; j < n; j += 8) {
while (k < n) {
k += 8;
}
}
}
return k;
}
|