gcc/
[official-gcc.git] / gcc / testsuite / gcc.dg / pr39453.c
blob66ecc3fa0208c3c3bb011c75b6582ca4a805374a
1 /* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
2 /* { dg-options "-O2 -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops" } */
4 int foo(int k, int n)
6 int i;
7 for (i = 0; i < n; i += 8) {
8 int j;
9 for (j = 0; j < n; j += 8) {
10 while (k < n) {
11 k += 8;
15 return k;