1# This test fails under hpux 9.X and 10.X because HUGE_VAL is DBL_MAX
2# instead of +Infinity.
3
4global target_triplet
5if { [istarget "hppa*-*-hpux9*"] || [istarget "hppa*-*-hpux10*"] } {
6      set torture_execute_xfail "$target_triplet"
7}
8
9# VxWorks kernel mode has the same problem.
10if {[istarget "*-*-vxworks*"]} {
11    set torture_eval_before_execute {
12	global compiler_conditional_xfail_data
13	set compiler_conditional_xfail_data {
14	    "The kernel HUGE_VAL is defined to DBL_MAX instead of +Inf."
15	    { "*-*-*" }
16	    {}
17	    { "-mrtp" }
18	}
19    }
20}
21
22if { [istarget "tic6x-*-*"] && [check_effective_target_ti_c67x] } {
23    # C6X uses -freciprocal-math by default.
24    set torture_execute_xfail "$target_triplet"
25    return 1
26}
27
28return 0
29
30