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
This commit is contained in:
Kaveh R. Ghazi 2002-10-28 18:10:56 +00:00 committed by Kaveh Ghazi
parent ee3c755a45
commit a80c67ca2e
3 changed files with 16 additions and 0 deletions

View File

@ -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-*-*.

View File

@ -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);

View File

@ -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)
{