Commit c4d475ad by Janis Johnson Committed by Janis Johnson

Revert patch for PR testsuite/37630.

From-SVN: r144893
parent db205671
2009-03-16 Janis Johnson <janis187@us.ibm.com>
Revert patch for PR testsuite/37630.
PR testsuite/37960
* gcc.dg/pr11492.c: Replace constant and remove xfail.
......
......@@ -28,7 +28,7 @@ load_lib c-torture.exp
# C torture test suite, and other contributors.
# Disable tests on machines with no hardware support for IEEE arithmetic.
if { ![check_effective_target_ieee] } { return }
if { [istarget "vax-*-*"] || [ istarget "powerpc-*-*spe"] } { return }
if $tracelevel then {
strace $tracelevel
......
/* { dg-do run { target { fpic && ieee } } } */
/* { dg-do run { target fpic } } */
/* { dg-options "-O2 -fpic" } */
extern void abort (void);
......
......@@ -2846,19 +2846,3 @@ proc check_effective_target_correct_iso_cpp_string_wchar_protos { } {
#endif
}]
}
# Return 1 if the target supports IEEE arithmetic.
proc check_effective_target_ieee { } {
global et_ieee_saved
if { ![info exists et_ieee_saved] } {
set et_ieee_saved 1
if { [istarget vax-*-*]
|| [istarget powerpc-*-*spe*] } {
set et_ieee_saved 0
}
}
return $et_ieee_saved
}
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