This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] limit and document unnamed fields.
> You were also addressing the lack of documentation and testcases for this
> feature - which means that considering the precise definition of the
> feature is appropriate at this point. (Documentation should be clear
> about exactly what is allowed, but if we might want to disallow examples
> such as the above (or more complicated cases, e.g. struct s { struct { int
> a; struct { int b; }; }; struct { int b; }; };) we shouldn't document them
> as allowed now and disallow them later.)
Ah, good point.