https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114372
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Severity|normal |enhancement Last reconfirmed| |2024-03-18 Keywords| |diagnostic Summary|Confusing ODR warning with |Confusing ODR warning with |different typedefs |different typedefs (show | |the canonical non-aggregate | |type) Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. This should be done even for array types where just the types are different too. (the sizes is different is already filed as PR 114218); we should show both if both are different there too.