https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81465
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- Created attachment 41978 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41978&action=edit Tested patch candidate Adding patch candidate that changes cgraph_node::verify_node that verifies global.inlined_to && same_comdat_group. It believe proper fix is to verify that node should live in a same comdat group (if belongs to any).