Commit c53fa174 by John David Anglin Committed by John David Anglin

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
parent b0d95de8
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> 2006-12-13 Jakub Jelinek <jakub@redhat.com>
* g++.dg/debug/vartrack1.C: New test. * g++.dg/debug/vartrack1.C: New test.
...@@ -978,6 +978,7 @@ proc check_mkfifo_available {} { ...@@ -978,6 +978,7 @@ proc check_mkfifo_available {} {
proc check_cxa_atexit_available { } { proc check_cxa_atexit_available { } {
global et_cxa_atexit global et_cxa_atexit
global et_cxa_atexit_target_name global et_cxa_atexit_target_name
global target_triplet
global tool global tool
if { ![info exists et_cxa_atexit_target_name] } { if { ![info exists et_cxa_atexit_target_name] } {
...@@ -997,6 +998,9 @@ proc check_cxa_atexit_available { } { ...@@ -997,6 +998,9 @@ proc check_cxa_atexit_available { } {
if [info exists et_cxa_atexit] { if [info exists et_cxa_atexit] {
verbose "check_cxa_atexit_available: using cached result" 2 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 { } else {
set et_cxa_atexit 0 set et_cxa_atexit 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment