]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.c-torture/execute/ieee/hugeval.x
32-bit PA-RISC with HP-UX: remove deprecated ports
[thirdparty/gcc.git] / gcc / testsuite / gcc.c-torture / execute / ieee / hugeval.x
1 # This test fails under hpux 9.X and 10.X because HUGE_VAL is DBL_MAX
2 # instead of +Infinity.
3
4 global target_triplet
5
6 # VxWorks kernel mode has the same problem.
7 if {[istarget "*-*-vxworks*"]} {
8 set torture_eval_before_execute {
9 global compiler_conditional_xfail_data
10 set compiler_conditional_xfail_data {
11 "The kernel HUGE_VAL is defined to DBL_MAX instead of +Inf."
12 { "*-*-*" }
13 {}
14 { "-mrtp" }
15 }
16 }
17 }
18
19 if { [istarget "tic6x-*-*"] && [check_effective_target_ti_c67x] } {
20 # C6X uses -freciprocal-math by default.
21 set torture_execute_xfail "$target_triplet"
22 return 1
23 }
24
25 return 0
26