https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111519
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- Created attachment 56089 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56089&action=edit patch This patch (against the 13 branch) fixes the bug but it might be a bit conservative since some entries (the _addr one for example) may not have a live virtual use. Maybe getting the relevant one from up the call chain is better. I'm going to throw this at testing but expect some testsuite fallout because of this conservativeness.