http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59469
--- Comment #45 from Jan Hubicka <hubicka at gcc dot gnu.org> --- The bug here is that lto-cgraph.c still checks DECL_COMDAT as a condition if symbol is duplicated or partitioned. We really need to get the logic into lto-cgraph.c and use same test at both places... Will do that tomorrow.