gcc/
[official-gcc.git] / gcc / testsuite / gcc.dg / pr45352-3.c
blobce7879f860a43bdcee35d7725c43d4683bc01002
1 /* { dg-do compile { target powerpc*-*-* ia64-*-* 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 ();