[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:27:00 GMT 2005


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

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	nathan@gcc.gnu.org	2005-03-17 13:26:42

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): Use a switch statement.
	reference_exprs can be dependent.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4663&r2=1.4664
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.984&r2=1.985



-- 


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



More information about the Gcc-bugs mailing list