diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2022-10-14 09:29:23 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2022-10-17 09:13:55 -0400 |
commit | 04874fedae8074b252abbd70fea68bf3dd0a605b (patch) | |
tree | 6563185f47c4c65c0054693f051119ba399149b5 /gcc/fortran | |
parent | fca529517484bf19098ca9efa77e95534086abdc (diff) | |
download | gcc-04874fedae8074b252abbd70fea68bf3dd0a605b.zip gcc-04874fedae8074b252abbd70fea68bf3dd0a605b.tar.gz gcc-04874fedae8074b252abbd70fea68bf3dd0a605b.tar.bz2 |
Fix nan updating in range-ops.
Calling clean_nan on an undefined type traps, set_varying first. Other
tweaks for correctness.
* range-op-float.cc (foperator_not_equal::op1_range): Check for
VREL_EQ after singleton.
(foperator_unordered::op1_range): Set VARYING before calling
clear_nan().
(foperator_ordered::op1_range): Set rather than clear NAN if both
operands are the same.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions