diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2020-04-27 15:31:30 +0200 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2020-04-28 18:26:31 +0200 |
commit | 6273e85ad801e9e0bfe60451708940cd90baa67a (patch) | |
tree | 476c2f7517353db9ab23ebaf2f9b239990762c86 /libjava | |
parent | 4a7bfd79b39b751f7fd864c4e65c478dea9d3dd2 (diff) | |
download | gcc-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