re PR testsuite/30157 (cxa_atexit check doesn't work)

PR testsuite/30157
	* lib/target-supports.exp (check_cxa_atexit_available): Return false
	for target "hppa.*hpux10".

From-SVN: r119842
This commit is contained in:
John David Anglin 2006-12-13 18:47:04 +00:00 committed by John David Anglin
parent b0d95de801
commit c53fa1740a
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2006-12-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR testsuite/30157
* lib/target-supports.exp (check_cxa_atexit_available): Return false
for target "hppa.*hpux10".
2006-12-13 Jakub Jelinek <jakub@redhat.com>
* g++.dg/debug/vartrack1.C: New test.

View File

@ -978,6 +978,7 @@ proc check_mkfifo_available {} {
proc check_cxa_atexit_available { } {
global et_cxa_atexit
global et_cxa_atexit_target_name
global target_triplet
global tool
if { ![info exists et_cxa_atexit_target_name] } {
@ -997,6 +998,9 @@ proc check_cxa_atexit_available { } {
if [info exists et_cxa_atexit] {
verbose "check_cxa_atexit_available: using cached result" 2
} elseif { [regexp "hppa.*hpux10" $target_triplet] } {
# HP-UX 10 doesn't have __cxa_atexit but subsequent test passes.
set et_cxa_atexit 0
} else {
set et_cxa_atexit 0