From: David Billinghurst Date: Fri, 17 May 2002 04:04:29 +0000 (+0000) Subject: weak-3.c: Add dg-excess-error comment for cygwin, coff and h8300-*-hms targets X-Git-Tag: releases/gcc-3.1.1~347 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57529d080886722c2da5413c340a5cc71ab1dd3c;p=thirdparty%2Fgcc.git 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: r53540 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ff5c21a393ad..2b89b28b477b 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-15 Jason Merrill , Alexandre Oliva * g++.dg/init/pm1.C: New test. diff --git a/gcc/testsuite/gcc.dg/weak-3.c b/gcc/testsuite/gcc.dg/weak-3.c index 1675ab10f3bd..3a9553d7e49c 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 eec210992f45..a71c2a84e480 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 64d6155a890c..7a24f7640a73 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" } */