[Bug c++/21352] [3.4/4.0/4.1 Regression] ICE on valid code with passing template function type as template type

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu May 5 23:30:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-05-05 23:30 -------
Subject: Bug 21352

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	mmitchel@gcc.gnu.org	2005-05-05 23:30:27

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

Log message:
	PR c++/21352
	* pt.c (build_non_dependent_expr): Use is_overloaded_fn.
	
	PR c++/21352
	* g++.dg/template/crash37.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4648.2.37&r2=1.4648.2.38
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.978.2.7&r2=1.978.2.8
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.160&r2=1.5084.2.161
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/crash37.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=21352



More information about the Gcc-bugs mailing list