This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12620] compatibility issue with anonymous struct/union support
- From: "jbeulich at novell dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Oct 2003 12:25:54 -0000
- Subject: [Bug c++/12620] compatibility issue with anonymous struct/union support
- References: <20031015120301.12620.jbeulich@novell.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12620
------- Additional Comments From jbeulich at novell dot com 2003-10-15 12:25 -------
... to some degree: for the example given, &ccc::i evaluates to the offset based
from the starting address of ccc, not (as 3.3.1 does) from the start of the
union. For naming purposes, the anonymous union is still considered.