[Bug c++/13925] [3.4?/3.5 Regression] Bug while befriending specializations

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Feb 3 20:03:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-02-03 20:03 -------
Subject: Bug 13925

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	mmitchel@gcc.gnu.org	2004-02-03 20:03:23

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

Log message:
	PR c++/13925
	* decl.c (start_function): Do not call pushdecl for any
	instantiation or specialization of a primary template.
	
	PR c++/13925
	* g++.dg/template/lookup5.C: New test.

Patches:
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.46&r2=1.3389.2.47
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/lookup5.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1
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.30&r2=1.3892.2.31
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.4&r2=1.1174.2.5



-- 


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



More information about the Gcc-bugs mailing list