https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65237
--- Comment #13 from Jan Hubicka <hubicka at gcc dot gnu.org> --- The alias is really in a wrong comdat group. C++ FE should produce lthunk correctly. It may be related to PR64988 I suppose the code I added to resolve_alias to redirect aliases of aliases to their target triggered more of sanity check here. I am looking into the ARM alias issue and will try to look into this later today.