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>

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

From-SVN: r51280
This commit is contained in:
David Billinghurst 2002-03-24 23:52:20 +00:00 committed by David Billinghurst
parent 12c3717eaf
commit 5bcf08f63e
2 changed files with 8 additions and 0 deletions

View 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

View 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" } } */