[AArch64] Fix SVE testsuite failures for ILP32 (PR 83846)
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-prof / unroll-1.c
blob3ad0cf019b3458c445151ff5f1db1f76aa0a3760
1 /* { dg-options "-O3 -fdump-rtl-loop2_unroll-details -funroll-loops -fno-peel-loops" } */
2 void abort ();
4 int a[1000];
5 int
6 __attribute__ ((noinline))
7 t()
9 int i;
10 for (i=0;i<1000;i++)
11 if (!a[i])
12 return 1;
13 abort ();
15 int
16 main()
18 int i;
19 for (i=0;i<1000;i++)
20 t();
21 return 0;
23 /* { dg-final-use { scan-rtl-dump "considering unrolling loop with constant number of iterations" "loop2_unroll" } } */