https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- It sounds like the usual upcasting of a link-only node which is strictly non-conforming and can also result in TBAA issues but it's wide-spread. Note I didn't look into the source at all.