[Bug c++/19555] [4.0 Regression] specialized in the wrong namespace causes an ICE

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 31 06:17:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-31 06:17 -------
Subject: Bug 19555

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	mmitchel@gcc.gnu.org	2005-01-31 06:16:54

Modified files:
	gcc/testsuite  : ChangeLog 
	gcc/cp         : ChangeLog cp-tree.h decl.c 
Added files:
	gcc/testsuite/g++.dg/template: static10.C 

Log message:
	PR c++/19555
	* cp-tree.h (DECL_USE_TEMPLATE): Expand documentation.
	* decl.c (duplicate_decls): Do not discard
	DECL_IMPLICIT_INSTANTIATION when merging declarations.
	(start_decl): Do not SET_DECL_TEMPLATE_SPECIALIZATION for
	variables that do not have DECL_USE_TEMPLATE.
	
	PR c++/19555
	* g++.dg/template/static10.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4961&r2=1.4962
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/static10.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4603&r2=1.4604
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&r1=1.1098&r2=1.1099
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1356&r2=1.1357



-- 


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



More information about the Gcc-bugs mailing list