https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111657

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
         Depends on|79649                       |
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-10-01
             Status|UNCONFIRMED                 |NEW

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is unrelated to PR 79649 as IV-OPTS does nothing here.

if we do `-mstringop-strategy=loop`, it works fine but
`-mstringop-strategy=libcall` is broken.

Seems like the middle-end expansion for the copy for the libcall case does
worse than the target specific loop.
Now the backend could select the target specific loop for this rather than the
libcall case ....


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79649
[Bug 79649] Memset pattern in named address space crashes compiler or generates
wrong code

Reply via email to