diff options
| -rw-r--r-- | gcc/cp/ChangeLog | 2 | ||||
| -rw-r--r-- | gcc/cp/pt.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 0ba2415..eb271e5 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,7 @@ 2004-08-18 Mark Mitchell <mark@codesourcery.com> + * 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 5175eb1..4107d1c 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; |
