This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/12775] Nested transparent unions regression


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]