modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/ieee/compare-fp-4.x (about)

     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      }
    14  }
    15  
    16  if [istarget "spu-*-*"] {
    17      # The SPU single-precision floating point format does not
    18      # support Nan & Inf.
    19      return 1
    20  }
    21  
    22  lappend additional_flags "-fno-trapping-math"
    23  return 0