diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2022-08-26 16:55:52 +0200 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2022-08-26 18:12:37 +0200 |
commit | d085901e0e3b3d490fb756b3e939750e7ea2b7fc (patch) | |
tree | c1bc47c06deadc368c9aaf7331bc37f3a012f285 /libgcc/fixed-bit.c | |
parent | 79db991ece4bf9a63d13c3bce0ed974f3ef859c7 (diff) | |
download | gcc-d085901e0e3b3d490fb756b3e939750e7ea2b7fc.zip gcc-d085901e0e3b3d490fb756b3e939750e7ea2b7fc.tar.gz gcc-d085901e0e3b3d490fb756b3e939750e7ea2b7fc.tar.bz2 |
[ranger] x == -0.0 does not mean we can replace x with -0.0
On the true side of x == -0.0, we can't just blindly value propagate
the -0.0 into every use of x because x could be +0.0.
With this change, we only allow the transformation if
!HONOR_SIGNED_ZEROS or if the range is known not to contain 0.
gcc/ChangeLog:
* range-op-float.cc (foperator_equal::op1_range): Do not blindly
copy op2 range when honoring signed zeros.
Diffstat (limited to 'libgcc/fixed-bit.c')
0 files changed, 0 insertions, 0 deletions