1 2 3 4 5 6 7 8 9 10 11 12
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-ivopts-details" } */ void main (void) { int i; for (i = 0; i < 10; i++) f2 (); } /* { dg-final { scan-tree-dump-times "!= 0" 5 "ivopts" } } */ /* { dg-final { cleanup-tree-dump "ivopts" } } */