blob: 347ad55fb4e2ef43beeed7c434aaab247ceb55f3 [file] [log] [blame]
/* { dg-options "-Os -fdump-ipa-inline-details" } */
int foo (void);
int test(int a)
{
if (a>100)
{
foo();
foo();
foo();
foo();
foo();
foo();
foo();
foo();
}
}
int
main()
{
for (int i=0;i<100;i++)
test(i);
}
/* { dg-final { scan-ipa-dump "Inlined 2 calls" "inline" } } */