diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-21 02:58:24 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-21 02:58:24 +0000 |
commit | 9bd65cc14e7a88096f4c0020d6d0ff7202ad9ed8 (patch) | |
tree | 79aa17e9554a7a4348ad6284dbfbb90359769fe9 /gcc/testsuite/gcc.misc-tests | |
parent | a6e6eeae4ec5a01b345d62681f637526ef5ccf8d (diff) | |
download | gcc-9bd65cc14e7a88096f4c0020d6d0ff7202ad9ed8.tar.gz |
* lib/target-supports.exp (check_profiling_available): Check
argument to determine whether we support a profiling type.
* lib/gcc-dg.exp (dg-require-profiling): Pass argument to
check_profiling_available.
* g++.dg/bprob/bprob.exp: Likewise
* g77.dg/bprob/bprob.exp: Likewise.
* gcc.misc-tests/bprob.exp: Likewise.
* g++.old-deja/g++.law/profile1.C: Pass profiling type to
dg-require-profiling and delete expected error handling.
* gcc.dg/20021014-1.c: Likewise.
* gcc.dg/nest.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78206 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.misc-tests')
-rw-r--r-- | gcc/testsuite/gcc.misc-tests/bprob.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.misc-tests/bprob.exp b/gcc/testsuite/gcc.misc-tests/bprob.exp index 5afbdb1c847..8fde6829f83 100644 --- a/gcc/testsuite/gcc.misc-tests/bprob.exp +++ b/gcc/testsuite/gcc.misc-tests/bprob.exp @@ -21,7 +21,7 @@ load_lib target-supports.exp # Some targets don't have any implementation of __bb_init_func or are # missing other needed machinery. -if { ![check_profiling_available] } { +if { ![check_profiling_available "-fprofile-arcs"] } { return } |