* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-prof / time-profiler-1.c
blob455f923f3f40533fb37b9d11d03b1966f2d50782
1 /* { dg-options "-O2 -fdump-ipa-profile" } */
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"} } */