[Bug c/26370] anon union/struct at top level

acahalan at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Feb 19 23:02:00 GMT 2006



------- Comment #2 from acahalan at gmail dot com  2006-02-19 23:02 -------
Given that we have anon unions, and given that unions can exist at top level
and function level, this is a very logical extension. It lifts an annoying and
arbitrary restriction.

>From the user's point of view, this doesn't add anything. It removes an
inconsistancy.

You could say that nobody NEEDS anon unions at all, yet they were found useful.
The practice of adding useful-but-not-required stuff started before C was even
called C.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26370



More information about the Gcc-bugs mailing list