1 /* { dg-options "-O3 -c -fdump-ipa-inline-details -fno-early-inlining -fno-ipa-cp" } */ 2 /* { dg-add-options bind_pic_locally } */ 3 4 void test2 (int); 5 int test(int a)6test (int a) 7 { 8 int i; 9 for (i=0; i<a; i++) 10 { 11 test2(a); 12 test2(a); 13 } 14 } 15 int m()16m() 17 { 18 test (10); 19 } 20 /* { dg-final { scan-ipa-dump "loop_iterations" "inline" } } */ 21