mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-27 17:24:45 +08:00
re PR c/5147 ([cygwin] Failure of test gcc.dg/special/wkali-1.c)
PR c/5147 * gcc.dg/special/ecos.exp: wkali-1.c unsupported if target does not support weak symbols. From-SVN: r48191
This commit is contained in:
parent
66866cda0e
commit
871c5f6b1d
@ -1,3 +1,8 @@
|
||||
2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
|
||||
|
||||
* gcc.dg/special/ecos.exp: wkali-1.c unsupported if
|
||||
target does not support weak symbols.
|
||||
|
||||
2001-12-19 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* gcc.c-torture/compile/20011219-1.c: New test.
|
||||
|
@ -97,13 +97,19 @@ dg-finish
|
||||
# wkali-1.c
|
||||
###########
|
||||
|
||||
dg-init
|
||||
switch [check_alias_available "$srcdir/$subdir/wkali-1.c"] {
|
||||
yes { dg-runtest "$srcdir/$subdir/wkali-1.c" "" "" }
|
||||
no { unsupported "wkali-1.c" }
|
||||
default { fail "wkali-1.c" }
|
||||
if { [ check_weak_available ] == 1 } {
|
||||
dg-init
|
||||
switch [check_alias_available "$srcdir/$subdir/wkali-1.c"] {
|
||||
yes { dg-runtest "$srcdir/$subdir/wkali-1.c" "" "" }
|
||||
no { unsupported "wkali-1.c" }
|
||||
default { fail "wkali-1.c" }
|
||||
}
|
||||
dg-finish
|
||||
} elseif { [ check_weak_available ] == 0 } {
|
||||
unsupported "wkali-1.c"
|
||||
} else {
|
||||
unresolved "wkali-1.c"
|
||||
}
|
||||
dg-finish
|
||||
|
||||
###########
|
||||
# wkali-2.c
|
||||
|
Loading…
Reference in New Issue
Block a user