aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.cc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2022-11-02 12:39:45 +0100
committerAldy Hernandez <aldyh@redhat.com>2022-11-02 14:37:01 +0100
commit58511b3fc035f7fe77c3403f7b99de3a795a7964 (patch)
tree2ccbfb726d883f49747293115a2a26dc9458f7c0 /gcc/gcc.cc
parent6d9dbdf51f9afe86a57fb28bc55065fa4500a72b (diff)
downloadgcc-58511b3fc035f7fe77c3403f7b99de3a795a7964.zip
gcc-58511b3fc035f7fe77c3403f7b99de3a795a7964.tar.gz
gcc-58511b3fc035f7fe77c3403f7b99de3a795a7964.tar.bz2
Fix bug in frange::contains_p() for signed zeros.
The contains_p() code wasn't returning true for non-singleton ranges containing signed zeros. With this patch we now handle: -0.0 exists in [-3, +5.0] +0.0 exists in [-3, +5.0] gcc/ChangeLog: * value-range.cc (frange::contains_p): Fix signed zero handling. (range_tests_signed_zeros): New test.
Diffstat (limited to 'gcc/gcc.cc')
0 files changed, 0 insertions, 0 deletions