From c7d654a03875e88691beae1fdbfaee495dbbb7a7 Mon Sep 17 00:00:00 2001 From: ghazi Date: Mon, 28 Oct 2002 18:10:56 +0000 Subject: [PATCH] * gcc.dg/20021014-1.c: Bypass errors on solaris2 and irix6. * gcc.dg/nest.c: Bypass errors on irix6. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58600 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/20021014-1.c | 8 ++++++++ gcc/testsuite/gcc.dg/nest.c | 3 +++ 3 files changed, 16 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a92f47f..c82794f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-10-28 Kaveh R. Ghazi + + * gcc.dg/20021014-1.c: Bypass errors on solaris2 and irix6. + * gcc.dg/nest.c: Bypass errors on irix6. + 2002-10-27 Hans-Peter Nilsson * gcc.dg/nest.c: Expect error for mmix-*-*. diff --git a/gcc/testsuite/gcc.dg/20021014-1.c b/gcc/testsuite/gcc.dg/20021014-1.c index 0a5efdf..8a3ad1d 100644 --- a/gcc/testsuite/gcc.dg/20021014-1.c +++ b/gcc/testsuite/gcc.dg/20021014-1.c @@ -1,6 +1,14 @@ /* { dg-do run } */ /* { dg-options "-O2 -p" } */ /* { dg-error "profiler" "No profiler support" { target mmix-*-* } 0 } */ +/* Support for -p on solaris2 relies on mcrt1.o which comes with the + vendor compiler. We cannot reiably predict the directory where the + vendor compiler (and thus mcrt1.o) is installed so we can't + necessarily find mcrt1.o even if we have it. */ +/* { dg-error "mcrt1.o" "Optional vendor profiler support missing" { target *-*-solaris2* } 0 } */ +/* Support for -p on irix relies on libprof1.a which doesn't appear to + exist on any irix6 system currently posting testsuite results. */ +/* { dg-error "libprof1.a" "Profiler support missing" { target mips*-*-irix* } 0 } */ extern void abort (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/nest.c b/gcc/testsuite/gcc.dg/nest.c index 34f4435..5520aa1 100644 --- a/gcc/testsuite/gcc.dg/nest.c +++ b/gcc/testsuite/gcc.dg/nest.c @@ -2,6 +2,9 @@ /* { dg-do run } */ /* { dg-options "-O2 -pg" } */ /* { dg-error "profiler" "No profiler support" { target mmix-*-* } 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 } */ long foo (long x) { -- 2.7.4