On Thu, 30 Jul 2015, Richard Biener wrote:
>
> The following patch avoids folding NaN < 0 to false if -ftrapping-math
> is in effect.
>
> Bootstrap & regtest pending on x86_64-unknown-linux-gnu.
FAIL: gcc.dg/fold-abs-4.c scan-tree-dump-times gimple "ABS" 0
FAIL: gcc.dg/pr15784-1.c scan-tree-dum
The following patch avoids folding NaN < 0 to false if -ftrapping-math
is in effect.
Bootstrap & regtest pending on x86_64-unknown-linux-gnu.
Richard.
2015-07-30 Richard Biener
PR middle-end/67052
* fold-const.c (fold_binary_loc): Do not fold NaN < 0 to false
if FP m