Move array_bounds warnings into a separate pass.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr26570.c
blob89cf16c80a590da258de34ae3d72c7355d56cea3
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" } */
5 unsigned test (unsigned a, unsigned b)
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" } */