aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r--gcc/cp/class.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index 957151d..e15a38d 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -1247,7 +1247,7 @@ check_bases (tree t,
/* Determine all the primary bases within T. Sets BINFO_PRIMARY_BASE_P for
those that are primaries. Sets BINFO_LOST_PRIMARY_P for those
that have had a nearly-empty virtual primary base stolen by some
- other base in the heirarchy. Determines CLASSTYPE_PRIMARY_BASE for
+ other base in the hierarchy. Determines CLASSTYPE_PRIMARY_BASE for
T. */
static void
@@ -1320,7 +1320,7 @@ determine_primary_bases (tree t)
/* A "nearly-empty" virtual base class can be the primary base
class, if no non-virtual polymorphic base can be found. Look for
a nearly-empty virtual dynamic base that is not already a primary
- base of something in the heirarchy. If there is no such base,
+ base of something in the hierarchy. If there is no such base,
just pick the first nearly-empty virtual base. */
for (base_binfo = TREE_CHAIN (type_binfo); base_binfo;
@@ -3072,7 +3072,7 @@ check_field_decls (tree t, tree *access_decls,
user at least implemented the cleanup correctly, and a destructor
is needed to free dynamic memory.
- This seems enough for pratical purposes. */
+ This seems enough for practical purposes. */
if (warn_ecpp
&& has_pointers
&& TYPE_HAS_CONSTRUCTOR (t)