https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57378
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note with checking enabled we get an ICE: <source>:23:17: error: Two symbols with same comdat_group are not linked by the same_comdat_group list. 23 | { return foo(); } | ^ _Z3foov.resolver/12 (_Z3foov.resolver) ....