diff options
Diffstat (limited to 'gcc/testsuite/g77.dg/bprob/bprob.exp')
-rw-r--r-- | gcc/testsuite/g77.dg/bprob/bprob.exp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/testsuite/g77.dg/bprob/bprob.exp b/gcc/testsuite/g77.dg/bprob/bprob.exp index ae52506f6cd..6eb45be2e36 100644 --- a/gcc/testsuite/g77.dg/bprob/bprob.exp +++ b/gcc/testsuite/g77.dg/bprob/bprob.exp @@ -17,10 +17,11 @@ # Test the functionality of programs compiled with profile-directed block # ordering using -fprofile-arcs followed by -fbranch-probabilities. +load_lib target-supports.exp + # Some targets don't have any implementation of __bb_init_func or are # missing other needed machinery. -if { [istarget mmix-*-*] - || [istarget cris-*-*] } { +if { ![check_profiling_available] } { return } |