OSDN Git Service

* lib/gcc-dg.exp (dg-require-profiling): New function.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.misc-tests / bprob.exp
index 81a2968..df59900 100644 (file)
 
 # Some targets don't have any implementation of __bb_init_func or are
 # missing other needed machinery.
-if { [istarget mmix-*-*]
-     || [istarget arm*-*-elf]
-     || [istarget strongarm*-*-elf]
-     || [istarget xscale*-*-elf]
-     || [istarget cris-*-*]
-     || [istarget h8300-*-*] } {
+if { ![check_profiling_available] } {
     return
 }