aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2020-04-27 15:31:30 +0200
committerAldy Hernandez <aldyh@redhat.com>2020-04-28 18:26:31 +0200
commit6273e85ad801e9e0bfe60451708940cd90baa67a (patch)
tree476c2f7517353db9ab23ebaf2f9b239990762c86 /libjava
parent4a7bfd79b39b751f7fd864c4e65c478dea9d3dd2 (diff)
downloadgcc-6273e85ad801e9e0bfe60451708940cd90baa67a.zip
gcc-6273e85ad801e9e0bfe60451708940cd90baa67a.tar.gz
gcc-6273e85ad801e9e0bfe60451708940cd90baa67a.tar.bz2
Fix operator_mult::op1_range for when overflow wraps.
We can't solve 0 = OP1 * N by dividing by N with a wrapping type. For example: For 0 = OP1 * 2, OP1 could be 0, or MAXINT. So bail, when overflow wraps.
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions