generic.texi (ANNOTATE_EXPR): Document 3rd operand.
[gcc.git] / gcc / testsuite / gcc.dg / tree-prof / unroll-1.c
1 /* { dg-options "-O3 -fdump-rtl-loop2_unroll-details -funroll-loops -fno-peel-loops" } */
2 void abort ();
3
4 int a[1000];
5 int
6 __attribute__ ((noinline))
7 t()
8 {
9 int i;
10 for (i=0;i<1000;i++)
11 if (!a[i])
12 return 1;
13 abort ();
14 }
15 int
16 main()
17 {
18 int i;
19 for (i=0;i<1000;i++)
20 t();
21 return 0;
22 }
23 /* { dg-final-use { scan-rtl-dump "considering unrolling loop with constant number of iterations" "loop2_unroll" } } */