mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
* ld-selective/selective.exp: Remove check that $CC contains the
string "gcc". Do -dumpversion for $CXX.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2009-07-08 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* ld-selective/selective.exp: Remove check that $CC contains the
|
||||||
|
string "gcc". Do -dumpversion for $CXX.
|
||||||
|
|
||||||
2009-06-30 Nick Clifton <nickc@redhat.com>
|
2009-06-30 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
PR 10288
|
PR 10288
|
||||||
|
@ -108,16 +108,14 @@ foreach testitem $seltests {
|
|||||||
if { $testtype == "C++" } {
|
if { $testtype == "C++" } {
|
||||||
set testflags "$cflags $cxxflags"
|
set testflags "$cflags $cxxflags"
|
||||||
set compiler "$CXX"
|
set compiler "$CXX"
|
||||||
if [string match "*gcc*" [lindex $CC 0]] {
|
# Starting with 3.4.0, -fvtable-gc is no longer supported and thus
|
||||||
# Starting with 3.4.0, -fvtable-gc is no longer supported and thus
|
# the functionality we try to test for cannot be expected to work.
|
||||||
# the functionality we try to test for cannot be expected to work.
|
set version [remote_exec host "$CXX -dumpversion"]
|
||||||
set version [remote_exec host "$CC -dumpversion"]
|
set version [lindex $version 1]
|
||||||
set version [lindex $version 1]
|
if [regexp "^(\[1-9\]\[0-9\]+|\[4-9\]|3.(\[1-9\]\[0-9\]+|\[4-9\]))\\." $version] {
|
||||||
if [regexp "^(\[1-9\]\[0-9\]+|\[4-9\]|3.(\[1-9\]\[0-9\]+|\[4-9\]))\\." $version] {
|
setup_xfail {*-*-*}
|
||||||
setup_xfail {*-*-*}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} {
|
} else {
|
||||||
set testflags "$cflags"
|
set testflags "$cflags"
|
||||||
set compiler "$CC"
|
set compiler "$CC"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user