https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113688
--- Comment #22 from uecker at gcc dot gnu.org --- Or in other words, the correct way is to set TYPE_CANONICAL to the same type for all types in the same equivalence classes of compatible types. If compatible is not an equivalence relationship, these classes are bigger and may contain types which are not necessarily all compatible. Would it be possible to backport the VIEW_CONVERT_EXPR change?