This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/12775] Nested transparent unions regression
- From: "dannysmith at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Oct 2003 08:35:14 -0000
- Subject: [Bug c/12775] Nested transparent unions regression
- References: <20031025222726.12775.steve@chelsio.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=12775
------- Additional Comments From dannysmith at gcc dot gnu dot org 2003-10-26 08:35 -------
The code compiles without error on trunk and 3.3 branch iff add -fms-extensions
flag. The requirement for this flag is new.
The test cases are here:
2002-06-16 Richard Henderson <rth@redhat.com>
* g++.dg/ext/anon-struct1.C: New.
* g++.dg/ext/anon-struct2.C: New.
* g++.dg/ext/anon-struct3.C: New.
* gcc.dg/anon-struct-1.c: New.
* gcc.dg/anon-struct-2.c: New.
* gcc.dg/anon-struct-3.c: New.
* gcc.dg/20011008-1.c: Adjust warning text.
* gcc.dg/20020527-1.c: Add -fms-extensions.
Danny