This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/26370] anon union/struct at top level
- From: "acahalan at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Feb 2006 23:02:00 -0000
- Subject: [Bug c/26370] anon union/struct at top level
- References: <bug-26370-12219@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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