aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lambda.cc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2022-11-01 17:27:39 +0100
committerAldy Hernandez <aldyh@redhat.com>2022-11-01 19:24:21 +0100
commitbdf0018519c39931fdcc7aeffe9e87ba756894d7 (patch)
treee716a460db463b80c064ecce751f4fa8087e22ef /gcc/cp/lambda.cc
parent82b0345f6137b112728590d7c010dcd2cef08514 (diff)
downloadgcc-bdf0018519c39931fdcc7aeffe9e87ba756894d7.zip
gcc-bdf0018519c39931fdcc7aeffe9e87ba756894d7.tar.gz
gcc-bdf0018519c39931fdcc7aeffe9e87ba756894d7.tar.bz2
[PR tree-optimization/107490] Handle NANs in op[12]_range.
None of the build_<OP> functions in range-op handle NANs. This is by design in order to force us to handle NANs specially, because "x relop NAN" makes no sense. This patch fixes a handful of op[12]_range entries that weren't handling NANs. PR tree-optimization/107490 gcc/ChangeLog: * range-op-float.cc (foperator_unordered_lt::op1_range): Handle NANs. (foperator_unordered_lt::op2_range): Same. (foperator_unordered_le::op1_range): Same. (foperator_unordered_le::op2_range): Same. (foperator_unordered_gt::op1_range): Same. (foperator_unordered_gt::op2_range): Same. (foperator_unordered_ge::op1_range): Same. (foperator_unordered_ge::op2_range): Same. gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/pr107490.c: New test.
Diffstat (limited to 'gcc/cp/lambda.cc')
0 files changed, 0 insertions, 0 deletions