1 /* { dg-options "-O2 -fno-devirtualize --param=profile-func-internal-id=0 -fdump-ipa-profile -Wno-attributes -Wno-coverage-mismatch" } */
2 #include "reorder_class1.h"
3 #include "reorder_class2.h"
8 /* Another function not existing
11 __attribute__((noinline)) void
18 static __attribute__((always_inline))
22 for (i = 0; i < 1000; i++)
27 static __attribute__((always_inline))
31 for (i = 0; i < 1000; i++)
36 __attribute__((noinline)) void test_a(A *ap) { test1 (ap); }
37 __attribute__((noinline)) void test_b(B *bp) { test2 (bp); }
54 /* { dg-final-use { scan-ipa-dump-times "Indirect call -> direct call" 2 "profile" } } */