https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118513
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Or of course if something like that isn't appropriate for all copy_linkage uses (other than structured bindings it is used for guard variables I think), then cp_finish_decomp could do that.