aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-10-12 13:24:18 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-10-12 13:24:18 +0000
commitd740dbe7b23a8ab51d23d85ed47049649502aa52 (patch)
treee838ebaf8245238c75f08c661adaf9cce7eacfc3 /gcc
parent2abb138b7906f247d88ad1489811d2266a04de2d (diff)
downloadgcc-d740dbe7b23a8ab51d23d85ed47049649502aa52.zip
gcc-d740dbe7b23a8ab51d23d85ed47049649502aa52.tar.gz
gcc-d740dbe7b23a8ab51d23d85ed47049649502aa52.tar.bz2
* search.c: Fix comment typos.
From-SVN: r88927
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/search.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index a9bcec9..688a0d3 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2004-10-12 Kazu Hirata <kazu@cs.umass.edu>
+
+ * search.c: Fix comment typos.
+
2004-10-11 Mark Mitchell <mark@codesourcery.com>
PR c++/15786
diff --git a/gcc/cp/search.c b/gcc/cp/search.c
index 5b642a3..9c3d230 100644
--- a/gcc/cp/search.c
+++ b/gcc/cp/search.c
@@ -286,7 +286,7 @@ struct dcast_data_s
derived. */
tree offset; /* Best hint offset discovered so far. */
bool repeated_base; /* Whether there are repeated bases in the
- heirarchy. */
+ hierarchy. */
};
/* Worker for dcast_base_hint. Search for the base type being cast
@@ -1722,7 +1722,7 @@ dfs_walk_once_accessible (tree binfo, bool friends_p,
{
if (!BINFO_INHERITANCE_CHAIN (binfo))
{
- /* We are at the top of the hierachy, and can use the
+ /* We are at the top of the hierarchy, and can use the
CLASSTYPE_VBASECLASSES list for unmarking the virtual
bases. */
VEC (tree) *vbases;