From 088b3db0eb23fd79ed84ea301ca56d2f479d1ea8 Mon Sep 17 00:00:00 2001 From: David Billinghurst Date: Fri, 17 May 2002 03:54:11 +0000 Subject: [PATCH] weak-3.c: Add dg-excess-error comment for cygwin, coff and h8300-*-hms targets 2002-05-16 David.Billinghurst * gcc.dg/weak-3.c: Add dg-excess-error comment for cygwin, coff and h8300-*-hms targets * gcc.dg/weak-5.c: Likewise * gcc.dg/weak-7.c: Likewise From-SVN: r53539 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/gcc.dg/weak-3.c | 1 + gcc/testsuite/gcc.dg/weak-5.c | 1 + gcc/testsuite/gcc.dg/weak-7.c | 1 + 4 files changed, 10 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2e9b9f975e5..300eacfc360 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2002-05-16 David.Billinghurst + + * gcc.dg/weak-3.c: Add dg-excess-error comment for + cygwin, coff and h8300-*-hms targets + * gcc.dg/weak-5.c: Likewise + * gcc.dg/weak-7.c: Likewise + 2002-05-16 Jason Merrill * lib/scanasm.exp (scan-assembler): Use upvar, not uplevel. diff --git a/gcc/testsuite/gcc.dg/weak-3.c b/gcc/testsuite/gcc.dg/weak-3.c index 1675ab10f3b..3a9553d7e49 100644 --- a/gcc/testsuite/gcc.dg/weak-3.c +++ b/gcc/testsuite/gcc.dg/weak-3.c @@ -3,6 +3,7 @@ /* COFF does not support weak, and dg doesn't support UNSUPPORTED. */ /* { dg-do compile { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */ +/* { dg-excess-errors "COFF does not support weak symbols" { target *-*-coff i?86-pc-cygwin h8300-*-hms } } */ /* { dg-final { global target_triplet } } */ /* { dg-final { if [string match h8300-*-hms $target_triplet ] {return} } } */ diff --git a/gcc/testsuite/gcc.dg/weak-5.c b/gcc/testsuite/gcc.dg/weak-5.c index 8576379d3fb..f91c82a173a 100644 --- a/gcc/testsuite/gcc.dg/weak-5.c +++ b/gcc/testsuite/gcc.dg/weak-5.c @@ -3,6 +3,7 @@ /* COFF does not support weak, and dg doesn't support UNSUPPORTED. */ /* { dg-do compile { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */ +/* { dg-excess-errors "COFF does not support weak symbols" { target *-*-coff i?86-pc-cygwin h8300-*-hms } } */ /* { dg-final { global target_triplet } } */ /* { dg-final { if [string match h8300-*-hms $target_triplet ] {return} } } */ diff --git a/gcc/testsuite/gcc.dg/weak-7.c b/gcc/testsuite/gcc.dg/weak-7.c index 64d6155a890..7a24f7640a7 100644 --- a/gcc/testsuite/gcc.dg/weak-7.c +++ b/gcc/testsuite/gcc.dg/weak-7.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-excess-errors "COFF does not support weak symbols" { target *-*-coff i?86-pc-cygwin h8300-*-hms } } */ extern void * foo (void); void * foo (void) { return (void *)foo; } /* { dg-error "precede" } */ -- 2.30.2