https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115177
Martin Uecker <muecker at gwdg dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=115157 --- Comment #2 from Martin Uecker <muecker at gwdg dot de> --- They are internally implemented as enums, so the issue is basically the same as PR115157. The types can alias via the langhook but TYPE_CANONICAL is different and so derived types can not alias. It needs to be fixed somewhere else though.