On Fri, Jun 26, 2026 at 5:08 PM Richard Biener <[email protected]> wrote:
>
> On Fri, 26 Jun 2026, H.J. Lu wrote:
>
> > Update determine_block_size to set len_rtx to min size if min size ==
> > max size.
>
> OK if that was tested properly.

Tested on Linux/x86-64 and Linux/i686.   Commited.

> Richrd.
>
> > gcc/
> >
> > PR middle-end/125977
> > * builtins.cc (determine_block_size): Change len_rtx to reference
> > and set it to min size if min size == max size.
> > * expr.cc (emit_block_move_via_pattern): Assert count == min_size
> > if min_size == max_size.
> > (set_storage_via_setmem): Likewise.
> >
> > gcc/testsuite/
> >
> > PR middle-end/125977
> > * g++.dg/pr125977.C: New test.
> >
> >
> >
>
> --
> Richard Biener <[email protected]>
> SUSE Software Solutions Germany GmbH,
> Frankenstrasse 146, 90461 Nuernberg, Germany;
> GF: Jochen Jaser, Andrew McDonald, Werner Knoblich; (HRB 36809, AG Nuernberg)



-- 
H.J.

Reply via email to