gcc/testsuite/gcc.dg/pr26570.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -fprofile-generate -fprofile-use -fopt-info-missed-ipa -Wno-missing-profile" } */ |
| 3 | /* { dg-require-profiling "-fprofile-generate" } */ |
| 4 | |
| 5 | unsigned test (unsigned a, unsigned b) |
| 6 | { |
| 7 | return a / b; |
| 8 | } /* { dg-missed "\[^\n\]*execution counts estimated" } */ |
| 9 | /* { dg-prune-output "function body not available" } */ |
| 10 | /* Ignore inlinable warning on AIX. */ |
| 11 | /* { dg-prune-output "function not inlinable" } */ |