diff options
Diffstat (limited to 'gcc/testsuite/gcc.misc-tests/bprob.exp')
-rw-r--r-- | gcc/testsuite/gcc.misc-tests/bprob.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.misc-tests/bprob.exp b/gcc/testsuite/gcc.misc-tests/bprob.exp index c0035f0a47e..5afbdb1c847 100644 --- a/gcc/testsuite/gcc.misc-tests/bprob.exp +++ b/gcc/testsuite/gcc.misc-tests/bprob.exp @@ -17,11 +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-*-*] - || [istarget h8300-*-*] } { +if { ![check_profiling_available] } { return } |