This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH, middle-end]: Fix also PR46292 (was: Fix PR 44569)
> OK, I can revert the patch on branches.
The patch is OK for mainline if you add a comment explaining where these 2
kinds of CONCATN come from, e.g.:
/* VECTOR_CSTs in debug expressions are expanded into CONCATN instead of
regular CONST_VECTORs. They have vector or integer modes, depending
on the capabilities of the target. Cope with them. */
if (partmode == VOIDmode && VECTOR_MODE_P (innermode))
partmode = GET_MODE_INNER (innermode);
else if (partmode == VOIDmode)
enum mode_class mclass = GET_MODE_CLASS (innermode);
partmode = mode_for_size (inner_size * BITS_PER_UNIT, mclass, 0);