https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121209

uecker at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uecker at gcc dot gnu.org

--- Comment #4 from uecker at gcc dot gnu.org ---
I think both GCC /clang are correct, we have

"If any of the original types satisfies all requirements of the composite type,
it is unspecified whether the composite type is one of these types or a
different type that satisfies the requirements."

In principle, I think typedef show allow redeclarations of compatible types,
but the standard is more strict and requires same type.

Reply via email to