https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |ASSIGNED Resolution|FIXED |--- --- Comment #59 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to Markus Trippelsdorf from comment #58) These are breaking with -flto because make_decl_local clears DECL_COMDAT, so the check I added to ipa_devirt doesn't trigger. Honza, can we just remove that from make_decl_local? It seems harmless to me to leave the flag set.