diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a92f47f4d2b..c82794fb895 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 0a5efdffa6d..8a3ad1d8642 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 34f4435490c..5520aa1b070 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) {