diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2004-02-21 02:58:24 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2004-02-21 02:58:24 +0000 |
commit | 0d856ba2d26b6baa58932c461952f1abc6275082 (patch) | |
tree | 79aa17e9554a7a4348ad6284dbfbb90359769fe9 /gcc/testsuite/gcc.dg/nest.c | |
parent | d220de0ed226524460e398c80a580e0dc74b420f (diff) | |
download | gcc-0d856ba2d26b6baa58932c461952f1abc6275082.zip gcc-0d856ba2d26b6baa58932c461952f1abc6275082.tar.gz gcc-0d856ba2d26b6baa58932c461952f1abc6275082.tar.bz2 |
target-supports.exp (check_profiling_available): Check argument to determine whether we support a profiling type.
* 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.
From-SVN: r78206
Diffstat (limited to 'gcc/testsuite/gcc.dg/nest.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/nest.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.dg/nest.c b/gcc/testsuite/gcc.dg/nest.c index 872fead..264dde2 100644 --- a/gcc/testsuite/gcc.dg/nest.c +++ b/gcc/testsuite/gcc.dg/nest.c @@ -1,12 +1,9 @@ /* PR 5967, PR 7114 */ /* { dg-do run } */ -/* { dg-require-profiling "" } */ +/* { dg-require-profiling "-pg" } */ /* { dg-options "-O2 -pg" } */ /* { dg-options "-O2 -pg -static" { target hppa*-*-hpux* } } */ /* { dg-error "profiler" "No profiler support" { target xstormy16-*-* } 0 } */ -/* Support for -pg on irix relies on gcrt1.o which doesn't exist yet. - See: http://gcc.gnu.org/ml/gcc/2002-10/msg00169.html */ -/* { dg-error "gcrt1.o" "Profiler support missing" { target mips*-*-irix* } 0 } */ /* { dg-error "-pg not supported" "Profiler support missing" { target *-*-sco3.2v5* } 0 } */ long foo (long x) |