weak-1.c: Early return from dg-final on platforms that do not support weak symbols
authorDavid Billinghurst <David.Billinghurst@riotinto.com>
Sun, 24 Mar 2002 23:52:20 +0000 (23:52 +0000)
committerDavid Billinghurst <billingd@gcc.gnu.org>
Sun, 24 Mar 2002 23:52:20 +0000 (23:52 +0000)
2002-03-25  David.Billinghurst <David.Billinghurst@riotinto.com>

* gcc.dg/weak-1.c:  Early return from dg-final on platforms
that do not support weak symbols

From-SVN: r51280

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/weak-1.c

index 8ee75ef5b1f8aadd6bfceb3d7a79aace300363b0..cd89905548dc957ee067ef9d873b0d2bbd836a60 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-25  David Billinghurst  <David.Billinghurst@riotinto.com>
+
+       * gcc.dg/weak-1.c:  Early return from dg-final on platforms
+       that do not support weak symbols
+
 2002-03-25  David Billinghurst  <David.Billinghurst@riotinto.com>
 
        * lib/g++.exp:  Fix handling of LD_LIBRARY_PATH et al
index 894a248a6f9e51b4f417478aa0e8f04282e8a84e..7273bec173490ae55c3bd2b972f76a444f374e31 100644 (file)
@@ -2,6 +2,9 @@
 /* COFF does not support weak, and dg doesn't support UNSUPPORTED.  */
 /* { dg-do compile { xfail *-*-coff i?86-pc-cygwin } } */
 
+/* { dg-final { global target_triplet } } */
+/* { dg-final { if [string match i?86-pc-cygwin $target_triplet ] {return} } } */
+/* { dg-final { if [string match *-*-coff $target_triplet ] {return} } } */
 /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?a" } } */
 /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?b" } } */
 /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?c" } } */