PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / ieee / compare-fp-4.x
blobd7ecd1100897d27c89cb9b71ba546278a0d9770e
1 # The ARM VxWorks kernel uses an external floating-point library in
2 # which routines like __ledf2 are just aliases for __cmpdf2.  These
3 # routines therefore don't handle NaNs correctly.
4 if [istarget "arm*-*-vxworks*"] {
5     set torture_eval_before_execute {
6         global compiler_conditional_xfail_data
7         set compiler_conditional_xfail_data {
8             "The ARM kernel uses a flawed floating-point library."
9             { "*-*-*" }
10             {}
11             { "-mrtp" }
12         }
13     }
16 if [istarget "spu-*-*"] {
17     # The SPU single-precision floating point format does not
18     # support Nan & Inf.
19     return 1
22 lappend additional_flags "-fno-trapping-math"
23 return 0