[Bug c++/23797] [3.4/4.0/4.1 Regression] ICE on typename outside template
------- Comment #10 from nathan at gcc dot gnu dot org 2005-10-12 18:23 -------
Fixed mainline and 4.0
2005-10-12 Nathan Sidwell <nathan@codesourcery.com>
PR c++/23797
* parser.c (cp_parser_functional_cast): Cope when TYPE is not a
TYPE_DECL. Use dependent_type_p to check type.
* pt.c (uses_template_parms_p): Use dependent_type_p for a
TYPE_DECL.
(type_dependent_expression_p): Assert we've not been given a
TYPE_DECL.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23797
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Reply to: