aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/cp/ChangeLog2
-rw-r--r--gcc/cp/call.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 479f21a..19666e0 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -8,6 +8,8 @@
maybe_end_member_template_processing): Use VEC instead of
VARRAY.
+ * cp/call.c: Fix comment typos.
+
2006-04-12 Mark Mitchell <mark@codesourcery.com>
* parser.c (cp_parser_init_declarator): Initialize local variables
diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index b79d03b..c9826451 100644
--- a/gcc/cp/call.c
+++ b/gcc/cp/call.c
@@ -3982,7 +3982,7 @@ build_op_delete_call (enum tree_code code, tree addr, tree size,
if (placement)
{
- /* Get the parmaeter types for the allocation function that is
+ /* Get the parameter types for the allocation function that is
being called. */
gcc_assert (alloc_fn != NULL_TREE);
argtypes = TREE_CHAIN (TYPE_ARG_TYPES (TREE_TYPE (alloc_fn)));
@@ -5452,7 +5452,7 @@ build_new_method_call (tree instance, tree fns, tree args,
/* Now we know what function is being called. */
if (fn_p)
*fn_p = fn;
- /* Build the actuall CALL_EXPR. */
+ /* Build the actual CALL_EXPR. */
call = build_over_call (cand, flags);
/* In an expression of the form `a->f()' where `f' turns
out to be a static member function, `a' is