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

Alejandro Colomar <alx at kernel dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |---
             Status|RESOLVED                    |UNCONFIRMED

--- Comment #4 from Alejandro Colomar <alx at kernel dot org> ---
(In reply to Andrew Pinski from comment #2)
> But that is the defintion of the Plan9 extensions. A warning here would make
> Plan9 extensions not useful.

That extension has several parts:

-  Allow an unnamed member of a struct/union use a tagged type.

   This extension is good.

-  Allow a pointer to a structure undergo implicit conversion to an unnamed
first member.

   This extension is good.

-  Allow a pointer to a structure undergo implicit conversion to an unnamed
non-first member.

   This is harmful, and should be diagnosed.


We're discussing in the C Committee this extension, and we're dissecting it
into what we like and what we don't.  There's agreement that some parts of this
extension are good, and others not so much.  I'm suggesting that GCC diagnoses
the bad ones.

Reply via email to