https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95615
Iain Sandoe <iains at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2020-06-09 Target Milestone|--- |10.2 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #1 from Iain Sandoe <iains at gcc dot gnu.org> --- thanks for the report. I think the get-return-object case should now be handled (once the patch to add the cleanup is approved), since that can be covered by a conventional cleanup expression. Will need to look at the best way to handle the other two.