diff options
author | Mark Mitchell <mark@codesourcery.com> | 2003-12-23 23:55:06 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2003-12-23 23:55:06 +0000 |
commit | b8ee7f0279afe920c8e5740499bfd0368f8f806b (patch) | |
tree | 85e6485dc17957eec0bed8927a0a464c9f4decad /gcc/testsuite/g77.dg | |
parent | 7bd35dac2435a177f9891854a0b6b8335c74b3d4 (diff) | |
download | gcc-b8ee7f0279afe920c8e5740499bfd0368f8f806b.zip gcc-b8ee7f0279afe920c8e5740499bfd0368f8f806b.tar.gz gcc-b8ee7f0279afe920c8e5740499bfd0368f8f806b.tar.bz2 |
gcc-dg.exp (dg-require-profiling): New function.
* lib/gcc-dg.exp (dg-require-profiling): New function.
* lib/target-supports.exp (check_profiling_available): Likewise.
* g++.dg/bprob/bprob.exp: Use check_profiling_available.
* g77.dg/bprob/bprob.exp: Likewise.
* gcc.misc-tests/bprob.exp: Likewise.
* g++.old-deja/g++.law/profile1.C: Use dg-require-profiling.
* gcc.dg/20021014-1.c: Likewise.
* gcc.dg/nest.c: Likewise.
From-SVN: r74995
Diffstat (limited to 'gcc/testsuite/g77.dg')
-rw-r--r-- | gcc/testsuite/g77.dg/bprob/bprob.exp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/testsuite/g77.dg/bprob/bprob.exp b/gcc/testsuite/g77.dg/bprob/bprob.exp index 771a7aa..e30234e 100644 --- a/gcc/testsuite/g77.dg/bprob/bprob.exp +++ b/gcc/testsuite/g77.dg/bprob/bprob.exp @@ -19,11 +19,7 @@ # 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-*-*] } { +if { ![check_profiling_available] } { return } |