https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125013
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ppalka at gcc dot gnu.org
--- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> Seems to work with GCC 16, confirmed with 13 and 15. I wonder what fixed it.
Fixed by r16-1113 "gimple-fold: Implement simple copy propagation for
aggregates [PR14295]"