From: Kazu Hirata Date: Mon, 9 Feb 2004 14:56:00 +0000 (+0000) Subject: * call.c, parser.c, tree.c: Fix comment typos. X-Git-Tag: releases/gcc-4.0.0~10241 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77077b39cb4b8bf659af916a7a055413afb41e9e;p=thirdparty%2Fgcc.git * call.c, parser.c, tree.c: Fix comment typos. From-SVN: r77536 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 661d9e7630ac..48bbd25a305d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2004-02-09 Kazu Hirata + + * call.c, parser.c, tree.c: Fix comment typos. + 2004-02-07 Zack Weinberg Bug 13856 diff --git a/gcc/cp/call.c b/gcc/cp/call.c index 15382dcb1b89..559a8f7992ed 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -584,7 +584,7 @@ standard_conversion (tree to, tree from, tree expr) (_class.member.lookup_) base class of D, a program that necessitates this conversion is ill-formed. */ /* Therefore, we use DERIVED_FROM_P, and not - ACESSIBLY_UNIQUELY_DERIVED_FROM_P, in this test. */ + ACCESSIBLY_UNIQUELY_DERIVED_FROM_P, in this test. */ && DERIVED_FROM_P (TREE_TYPE (to), TREE_TYPE (from))) { from = @@ -5524,7 +5524,7 @@ compare_ics (tree ics1, tree ics2) A& is better than binding an expression of type C to a reference of type A&, - --onversion of B to A is better than conversion of C to A */ + --conversion of B to A is better than conversion of C to A */ if (is_properly_derived_from (from_type1, to) && is_properly_derived_from (from_type2, to)) { diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 684de5066861..b17d669cd6dc 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -1824,7 +1824,7 @@ cp_parser_name_lookup_error (cp_parser* parser, /* If we are parsing tentatively, remember that an error has occurred during this tentative parse. Returns true if the error was - simulated; false if a messgae should be issued by the caller. */ + simulated; false if a message should be issued by the caller. */ static bool cp_parser_simulate_error (cp_parser* parser) @@ -4895,7 +4895,7 @@ cp_parser_pm_expression (cp_parser* parser) /* Parse a multiplicative-expression. - mulitplicative-expression: + multiplicative-expression: pm-expression multiplicative-expression * pm-expression multiplicative-expression / pm-expression diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index e07ecd878d58..cab893831abc 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -2082,7 +2082,7 @@ cp_cannot_inline_tree_fn (tree* fnp) /* Don't auto-inline anything that might not be bound within this unit of translation. Exclude comdat functions from this rule. While they can be bound - to the other unit, they all must be the same. This is especilly + to the other unit, they all must be the same. This is especially important so templates can inline. */ if (!DECL_DECLARED_INLINE_P (fn) && !(*targetm.binds_local_p) (fn) && !DECL_COMDAT (fn))