https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103819
--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> --- Why should caller->inlined_to call a comdat_local_p iff callee is comdat_local_p? The call isn't there if inlined. Why would we verify this only when !n->comdat_local_p () (we only need to re-compute in this case, but the sanity check should be there anyway?)
