Remove reduntant dumps and make tp_first_run dump more compact.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-prof / time-profiler-3.c
blob69daf2374830b941d38fb78b9d16a5d38c61657d
1 /* { dg-options "-O2 -fdump-ipa-profile -fprofile-update=atomic" } */
2 /* { dg-require-effective-target profile_update_atomic } */
4 __attribute__ ((noinline))
5 int foo()
7 return 0;
10 __attribute__ ((noinline))
11 int bar()
13 return 1;
16 int main ()
18 return foo ();
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"} } */
22 /* { dg-final-use-not-autofdo { scan-ipa-dump-times "Read tp_first_run: 3" 1 "profile"} } */