https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114817
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org
Target Milestone|--- |15.0
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2024-10-11
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
For the code in comment 0 we can just disable the memmove optimization when
!__is_trivially_assignable(decltype(*result), decltype(*first))