runtime: copy more of scheduler from Go 1.7 runtime
[official-gcc.git] / gcc / testsuite / gcc.dg / pr45352-3.c
blobc642a70855b1dde80ea2aa264c24a268852ad504
1 /* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O -fprofile-generate -fgcse -fno-gcse-lm -fgcse-sm -fno-ivopts -fno-tree-loop-im -ftree-pre -funroll-loops -fno-web -fschedule-insns2 -fselective-scheduling2 -fsel-sched-pipelining" } */
4 extern volatile float f[];
6 void foo (void)
8 int i;
9 for (i = 0; i < 100; i++)
10 f[i] = 0;
11 for (i = 0; i < 100; i++)
12 f[i] = 0;
13 for (i = 0; i < 100; i++)
14 if (f[i])
15 __builtin_abort ();