[Bug c++/21687] [4.0/4.1 Regression] ICE in GC with local class inside a template function

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Sep 2 18:23:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-02 18:23 -------
Subject: Bug 21687

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	mmitchel@gcc.gnu.org	2005-09-02 18:23:24

Modified files:
	gcc/cp         : parser.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/other: gc3.C 

Log message:
	PR c++/21687
	* parser.c (cp_parser_class_specifier): Push/pop GC contexts
	around functions in local classes.
	
	PR c++/21687
	* g++.dg/other/gc3.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.319.2.14&r2=1.319.2.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.368&r2=1.5084.2.369
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/other/gc3.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1



-- 


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



More information about the Gcc-bugs mailing list