PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / ieee / hugeval.x
blobc66de1c0648d796a705e994985220bab4b9f3ce3
1 # This test fails under hpux 9.X and 10.X because HUGE_VAL is DBL_MAX
2 # instead of +Infinity.
4 global target_triplet
5 if { [istarget "hppa*-*-hpux9*"] || [istarget "hppa*-*-hpux10*"] } {
6       set torture_execute_xfail "$target_triplet"
9 # VxWorks kernel mode has the same problem.
10 if {[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     }
22 if { [istarget "tic6x-*-*"] && [check_effective_target_ti_c67x] } {
23     # C6X uses -freciprocal-math by default.
24     set torture_execute_xfail "$target_triplet"
25     return 1
28 return 0