diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 0ba2415b4a4..eb271e5b2b6 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,7 @@ 2004-08-18 Mark Mitchell + * pt.c (dependent_template_p): Fix typo in commment. + PR c++/17068 * pt.c (dependent_template_p): Treat IDENTIFIER_NODEs as dependent. diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 5175eb1e705..4107d1ca1c6 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -12033,7 +12033,7 @@ dependent_template_p (tree tmpl) if (DECL_TEMPLATE_TEMPLATE_PARM_P (tmpl) || TREE_CODE (tmpl) == TEMPLATE_TEMPLATE_PARM) return true; - /* So arenames that have not been looked up. */ + /* So are names that have not been looked up. */ if (TREE_CODE (tmpl) == SCOPE_REF || TREE_CODE (tmpl) == IDENTIFIER_NODE) return true;