[Bug c/12775] Nested transparent unions regression
dannysmith at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Oct 26 10:03:00 GMT 2003
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
More information about the Gcc-bugs
mailing list