https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535
--- Comment #13 from rguenther at suse dot de <rguenther at suse dot de> --- On Tue, 17 Nov 2020, tnfchris at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535 > > Tamar Christina <tnfchris at gcc dot gnu.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Resolution|--- |FIXED > Status|ASSIGNED |RESOLVED > > --- Comment #12 from Tamar Christina <tnfchris at gcc dot gnu.org> --- > Fixed and backported to GCC 10,9. Could not reproduce on 8 which has a > different algorithm. But aarch64_expand_movmem has the same problem: bool aarch64_expand_movmem (rtx *operands) { unsigned int n; ... n = UINTVAL (operands[2]); should use unsigned HOST_WIDE_INT.