https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113459
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|rguenth at gcc dot gnu.org |unassigned at gcc dot gnu.org Status|ASSIGNED |NEW CC| |rguenth at gcc dot gnu.org --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- unsigned buflen = TREE_INT_CST_LOW (TYPE_SIZE_UNIT (vr->type)) + 1; if (INTEGRAL_TYPE_P (vr->type)) buflen = GET_MODE_SIZE (SCALAR_INT_TYPE_MODE (vr->type)) + 1; there's other spots using the pattern if (INTEGRAL_TYPE_P (type)) sz = GET_MODE_SIZE (SCALAR_INT_TYPE_MODE (type)); I wonder when GET_MODE_SIZE differs from TYPE_SIZE_UNIT? PSImode? Packed bitfields? r10-6885-g5f9cd512c42786 added the INTEGRAL_TYPE_P special-casing we now run into with the TYPE_SIZE_UNIT code being there before. Jakub, do you remember?