[Bug c++/20186] [4.0/4.1 regression] ICE with static_cast and type dependent variable (templates)

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 17 13:32:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-17 13:31 -------
Subject: Bug 20186

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	nathan@gcc.gnu.org	2005-03-17 13:30:57

Modified files:
	gcc/cp         : ChangeLog pt.c 

Log message:
	cp:
	PR c++/20186
	* pt.c (contains_dependent_cast_p): Remove.
	(fold_non_dependent_expr): Don't use it.
	(value_dependent_expression_p): Reference_exprs can be dependent.

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.10&r2=1.4648.2.11
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.4&r2=1.978.2.5



-- 


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



More information about the Gcc-bugs mailing list