https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89341
--- Comment #11 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Removing the alias check seems correct to me. The same body alias patch was long and needed special casing those aliases on quite few places. I am not at all sure why I added this one, but it definitly silences the diagnostics completely that is wrong.