libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-prof / time-profiler-1.c
blob3f1d1e0461933de44030bc85724dce5981c5e403
1 /* { dg-options "-O2 -fdump-ipa-profile -fno-ipa-vrp" } */
3 __attribute__ ((noinline))
4 int foo()
6 return 0;
9 __attribute__ ((noinline))
10 int bar()
12 return 1;
15 int main ()
17 return foo ();
19 /* { dg-final-use-not-autofdo { scan-ipa-dump-times "Read tp_first_run: 0" 1 "profile"} } */
20 /* { dg-final-use-not-autofdo { scan-ipa-dump-times "Read tp_first_run: 1" 1 "profile"} } */
21 /* { dg-final-use-not-autofdo { scan-ipa-dump-times "Read tp_first_run: 2" 1 "profile"} } */