1 /* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */ 2 /* { dg-options "-O2 -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops" } */ 3 foo(int k,int n)4int foo(int k, int n) 5 { 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; 12 } 13 } 14 } 15 return k; 16 } 17 18 19