diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-05-30 09:43:37 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-05-30 09:43:37 +0200 |
commit | 6d2420b3e5aefb4d0ada00922f8e04e7e7c5c733 (patch) | |
tree | 81ff7bda38a0febb099e58bd20c82feeb44e1bd2 /gcc/cp | |
parent | 8e9838cb421ed6d95a122ca291099cf422189281 (diff) | |
download | gcc-6d2420b3e5aefb4d0ada00922f8e04e7e7c5c733.zip gcc-6d2420b3e5aefb4d0ada00922f8e04e7e7c5c733.tar.gz gcc-6d2420b3e5aefb4d0ada00922f8e04e7e7c5c733.tar.bz2 |
backport: re PR middle-end/78416 (wrong code for division by (u128)~INT64_MAX at -O0)
Backported from mainline
2016-11-22 Jakub Jelinek <jakub@redhat.com>
PR middle-end/78416
* expmed.c (expand_divmod): Use wide_int for computation of
op1_is_pow2. Don't set it if op1 is 0. Formatting fixes.
Use size <= HOST_BITS_PER_WIDE_INT instead of
HOST_BITS_PER_WIDE_INT >= size.
* gcc.dg/torture/pr78416.c: New test.
From-SVN: r248626
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions