https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117490
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- This seems to make the alias relationship non-transitive which IMO is bogus. The frontend needs to arrange for the types of s1 and s2_alt to have the same TYPE_CANONICAL to fix this issue.