aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2002-10-28 18:10:56 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2002-10-28 18:10:56 +0000
commita80c67ca2e8eb8ba77b2e32f60f61474bc522e99 (patch)
treed594118e7ada67966b1f9f41cb6cc874fcf7f053 /gcc
parentee3c755a456f622ae2688dd8820a53ce3c6912a5 (diff)
downloadgcc-a80c67ca2e8eb8ba77b2e32f60f61474bc522e99.zip
gcc-a80c67ca2e8eb8ba77b2e32f60f61474bc522e99.tar.gz
gcc-a80c67ca2e8eb8ba77b2e32f60f61474bc522e99.tar.bz2
20021014-1.c: Bypass errors on solaris2 and irix6.
* gcc.dg/20021014-1.c: Bypass errors on solaris2 and irix6. * gcc.dg/nest.c: Bypass errors on irix6. From-SVN: r58600
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/20021014-1.c8
-rw-r--r--gcc/testsuite/gcc.dg/nest.c3
3 files changed, 16 insertions, 0 deletions
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 <ghazi@caip.rutgers.edu>
+
+ * 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 <hp@bitrange.com>
* 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)
{