aboutsummaryrefslogtreecommitdiff
path: root/libdecnumber/decSingle.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-11-21 17:18:17 +0000
committerJakub Jelinek <jakub@redhat.com>2019-11-21 17:18:17 +0000
commitba81dff0c57348a93854acd663d8ca42a29fe9f4 (patch)
tree1dd152dec0883580e53144a6e66298b05cd84cca /libdecnumber/decSingle.h
parentd7a161d3e726c955559ce5291fbd44dd39dac206 (diff)
Backported from mainline
2019-11-19 Jakub Jelinek <jakub@redhat.com> PR middle-end/91450 * internal-fn.c (expand_mul_overflow): For s1 * s2 -> ur, if one operand is negative and one non-negative, compare the non-negative one against 0 rather than comparing s1 & s2 against 0. Otherwise, don't compare (s1 & s2) == 0, but compare separately both s1 == 0 and s2 == 0, unless one of them is known to be negative. Remove tem2 variable, use tem where tem2 has been used before. * gcc.c-torture/execute/pr91450-1.c: New test. * gcc.c-torture/execute/pr91450-2.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-8-branch@278583 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libdecnumber/decSingle.h')
0 files changed, 0 insertions, 0 deletions