[Bug target/97535] [9/10 Regression] On AArch64 memcpy expansion cannot handle length > 32-bit signed int max

rguenther at suse dot de gcc-bugzilla@gcc.gnu.org
Tue Nov 17 10:48:14 GMT 2020


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.


More information about the Gcc-bugs mailing list