[Bug c++/14476] [3.3/3.4/3.5 Regression] ICE after error about enum not being defined when using it as a bit field

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 11 08:37:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-03-11 08:37 -------
Subject: Bug 14476

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	mmitchel@gcc.gnu.org	2004-03-11 08:37:03

Modified files:
	gcc/cp         : ChangeLog decl.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/lookup: enum1.C 

Log message:
	PR c++/14476
	* decl.c (xref_tag): Do not create dummy ENUMERAL_TYPEs.
	
	PR c++/14476
	* g++.dg/lookup/enum1.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3892.2.80&r2=1.3892.2.81
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.1174.2.13&r2=1.1174.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.138&r2=1.3389.2.139
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/lookup/enum1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.8.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14476



More information about the Gcc-bugs mailing list