2002-05-16 David.Billinghurst <David.Billinghurst@riotinto.com>
authorbillingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 May 2002 03:54:11 +0000 (03:54 +0000)
committerbillingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 May 2002 03:54:11 +0000 (03:54 +0000)
* 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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53539 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/weak-3.c
gcc/testsuite/gcc.dg/weak-5.c
gcc/testsuite/gcc.dg/weak-7.c

index 2e9b9f9..300eacf 100644 (file)
@@ -1,3 +1,10 @@
+2002-05-16  David.Billinghurst <David.Billinghurst@riotinto.com>
+
+       * 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  <jason@redhat.com>
 
        * lib/scanasm.exp (scan-assembler): Use upvar, not uplevel.
index 1675ab1..3a9553d 100644 (file)
@@ -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} } } */
index 8576379..f91c82a 100644 (file)
@@ -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} } } */
index 64d6155..7a24f76 100644 (file)
@@ -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" } */