https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117440
--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> --- It seems that making C++ FE to set attributes on thunks right is quite hard, since it may create alias and add thunk only later. I will see if IPA-visibility pass can fix this.
