Split print_rtx into subroutines
[official-gcc.git] / gcc / testsuite / gcc.dg / doloop-2.c
blob115ec742ba314a802fcb6398e56104d9bc6f2798
1 /* { dg-do run } */
2 /* { dg-options "-O2" } */
3 extern void abort (void);
4 unsigned global_iters;
6 void bi_reverse(int len)
8 do {
9 global_iters++;
10 } while (--len > 0);
13 int main()
15 bi_reverse(5);
16 if (global_iters != 5)
17 abort ();
18 return 0;