https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89281
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Feb 14 07:40:33 2019 New Revision: 268865 URL: https://gcc.gnu.org/viewcvs?rev=268865&root=gcc&view=rev Log: Backported from mainline 2019-02-13 Jakub Jelinek <ja...@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. Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/optabs.c