https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123868
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2026-01-30
CC| |pault at gcc dot gnu.org
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Summary|Memory leak on assignment |[16-regession] Memory leak
| |on assignment
--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
This regression is confirmed.
I instrumented the chunk that generated the wrapper call, implemented by Chris,
and, as I suspected, it is not touched by your testcase. Also, the derived
types in your testcase are not recursive and so, if I have understood
correctly, it should not have been touched.
If you want to test this, revert Chris's patch and try again.
Paul