1 /* PR c++/71077 */ 2 /* { dg-do link { target { i?86-*-* x86_64-*-* } } } */ 3 /* { dg-options "-O3 -flto -march=core-avx2" } */ 4 5 int *a; 6 int b, c, d, e; sched_analyze(void)7int sched_analyze(void) { 8 for (; b; b++) { 9 c = 0; 10 for (; c < 32; c++) 11 if (b & 1 << c) 12 a[b + c] = d; 13 } 14 return 0; 15 } 16 schedule_insns(void)17void schedule_insns(void) { e = sched_analyze(); } main(void)18int main(void) { schedule_insns(); } 19