OSDN Git Service

* pt.c: Fix comment typos.
[pf3gnuchains/gcc-fork.git] / gcc / cp / pt.c
index e8b2190..b609ecf 100644 (file)
@@ -10378,7 +10378,7 @@ mark_decl_instantiated (tree result, int extern_p)
 
    The 1998 std underspecified function template partial ordering, and
    DR214 addresses the issue.  We take pairs of arguments, one from
-   each of the templates, and deduce them against eachother.  One of
+   each of the templates, and deduce them against each other.  One of
    the templates will be more specialized if all the *other*
    template's arguments deduce against its arguments and at least one
    of its arguments *does* *not* deduce against the other template's
@@ -12399,7 +12399,7 @@ dependent_template_id_p (tree tmpl, tree args)
    can be found.  Note that this function peers inside uninstantiated
    templates and therefore should be used only in extremely limited
    situations.  ONLY_CURRENT_P restricts this peering to the currently
-   open classes heirarchy (which is required when comparing types).  */
+   open classes hierarchy (which is required when comparing types).  */
 
 tree
 resolve_typename_type (tree type, bool only_current_p)