ubsan: Don't test for NaNs if those do not exist (PR97926)
authorSegher Boessenkool <segher@kernel.crashing.org>
Fri, 19 Mar 2021 15:02:00 +0000 (15:02 +0000)
committerSegher Boessenkool <segher@kernel.crashing.org>
Mon, 22 Mar 2021 16:32:42 +0000 (16:32 +0000)
commitba16797fe69a0fae47355aa2c102ffac1c48c3bd
tree18cd628ca878ee21f1b56b719bbb3e2b8051616f
parent00b46c00c8d9003c61e8f817668ad3380e16fedb
ubsan: Don't test for NaNs if those do not exist (PR97926)

2021-03-22  Segher Boessenkool  <segher@kernel.crashing.org>

PR target/97926
* ubsan.c (ubsan_instrument_float_cast): Don't test for unordered if
there are no NaNs.
gcc/ubsan.c