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

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


------- Additional Comments From nathan at gcc dot gnu dot org  2005-03-17 13:31 -------
4.0
2005-03-17  Nathan Sidwell  <nathan@codesourcery.com>

	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.

HEAD
2005-03-17  Nathan Sidwell  <nathan@codesourcery.com>

	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.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED


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



More information about the Gcc-bugs mailing list