diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index f746718a7a5ae8e85a1e57aa2af6932a25261a23..e543c5c6d18ebc171c458e5d2a1825e3b444eb47 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2004-03-11 Kazu Hirata <kazu@cs.umass.edu> + + * call.c, cp-tree.h, pt.c: Fix comment typos. + 2004-03-10 Mark Mitchell <mark@codesourcery.com> PR c++/14510 diff --git a/gcc/cp/call.c b/gcc/cp/call.c index 320159ba9e7f8e8d8f50bde221c87aff45beeaa0..4eeb5e587d83617d57193453472a3a37b12173e6 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -6470,7 +6470,7 @@ initialize_reference (tree type, tree expr, tree decl, tree *cleanup) itself the result of a function call), turn it into a TARGET_EXPR here. It is important that EXPR be a TARGET_EXPR below since otherwise the INIT_EXPR will - attempt to make a bitwise copy of EXPR to intialize + attempt to make a bitwise copy of EXPR to initialize VAR. */ if (TREE_CODE (expr) != TARGET_EXPR) expr = get_target_expr (expr); diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index dcb173eff979f6f3b5ab710fe231a4ae9cd6efbe..6ccfcc89866b4421226a7a63b20faef3d8086f68 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -100,7 +100,7 @@ struct diagnostic_context; 4: DECL_C_BIT_FIELD (in a FIELD_DECL) DECL_VAR_MARKED_P (in a VAR_DECL) DECL_SELF_REFERENCE_P (in a TYPE_DECL) - DECL_INVALID_OVERRIRDER_P (in a FUNCTION_DECL) + DECL_INVALID_OVERRIDER_P (in a FUNCTION_DECL) 5: DECL_INTERFACE_KNOWN. 6: DECL_THIS_STATIC (in VAR_DECL or FUNCTION_DECL). 7: DECL_DEAD_FOR_LOCAL (in VAR_DECL). diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 015f72a833f2034ae1443719a6f14177bdbef366..c619dc681c4e40f5a163f8c0e13b8b60f1f76c0c 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -12131,7 +12131,7 @@ build_non_dependent_expr (tree expr) There is at least one place where we want to know that a particular expression is a throw-expression: when checking a ?: expression, there are special rules if the second or third - argument is a throw-expresion. */ + argument is a throw-expression. */ if (TREE_CODE (expr) == THROW_EXPR) return expr;