blob: efe831beab51949c5068a92fa533253c0bc1e5af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-ch-details" } */
extern int foo (int);
void bla (void)
{
int i, n = foo (0);
for (i = 0; i < n; i++)
foo (i);
}
/* There should be a header scheduled for duplication. */
/* { dg-final { scan-tree-dump-times "Scheduled" 1 "ch"} } */
|