]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR middle-end/89281 (gcc/optabs.c:3901:30: runtime error: shift exponent...
authorJakub Jelinek <jakub@redhat.com>
Fri, 30 Aug 2019 11:50:35 +0000 (13:50 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 30 Aug 2019 11:50:35 +0000 (13:50 +0200)
commit759561630909c5145f283850eb9f9970be78bed2
tree289381162bb048d1aecd08a3d1396ceff060bf07
parent6695f27e93d7d8b8590ba0caa290b2aa6b3a568a
backport: re PR middle-end/89281 (gcc/optabs.c:3901:30: runtime error: shift exponent 32 is too large for 32-bit type 'int')

Backported from mainline
2019-02-13  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/89281
* optabs.c (prepare_cmp_insn): Use UINTVAL (size) instead of
INTVAL (size), compare it to GET_MODE_MASK instead of
1 << GET_MODE_BITSIZE.

From-SVN: r275108
gcc/ChangeLog
gcc/optabs.c