summaryrefslogtreecommitdiff
path: root/gcc/et-forest.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-25 03:52:42 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-25 03:52:42 +0000
commit4885b28602cc78f9491be97dc9cb20e66b921fbf (patch)
treebf5e07ce58ea32552b2f08730c4b206c218b96ac /gcc/et-forest.c
parent47e051ca38cab251de07e884fa94a936bc348bc7 (diff)
downloadgcc-4885b28602cc78f9491be97dc9cb20e66b921fbf.tar.gz
* c-common.h: Fix comment typos.
* c-decl.c: Likewise. * cgraphunit.c: Likewise. * combine.c: Likewise. * et-forest.c: Likewise. * flow.c: Likewise. * function.c: Likewise. * ifcvt.c: Likewise. * integrate.c: Likewise. * jump.c: Likewise. * postreload.c: Likewise. * varray.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76539 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/et-forest.c')
-rw-r--r--gcc/et-forest.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/et-forest.c b/gcc/et-forest.c
index 62cdd2107d3..77194c63068 100644
--- a/gcc/et-forest.c
+++ b/gcc/et-forest.c
@@ -37,7 +37,7 @@ Boston, MA 02111-1307, USA.
#include "basic-block.h"
#endif
-/* The occurence of a node in the et tree. */
+/* The occurrence of a node in the et tree. */
struct et_occ
{
struct et_node *of; /* The node. */
@@ -51,7 +51,7 @@ struct et_occ
int min; /* The minimum value of the depth in the subtree
is obtained by adding sum of depth fields
on the path to the root. */
- struct et_occ *min_occ; /* The occurence in the subtree with the minimal
+ struct et_occ *min_occ; /* The occurrence in the subtree with the minimal
depth. */
};
@@ -112,7 +112,7 @@ set_next (struct et_occ *occ, struct et_occ *t)
t->parent = occ;
}
-/* Recompute minimum for occurence OCC. */
+/* Recompute minimum for occurrence OCC. */
static inline void
et_recomp_min (struct et_occ *occ)
@@ -310,7 +310,7 @@ check_path_after (struct et_occ *occ)
#endif
-/* Splay the occurence OCC to the root of the tree. */
+/* Splay the occurrence OCC to the root of the tree. */
static void
et_splay (struct et_occ *occ)
@@ -452,7 +452,7 @@ et_splay (struct et_occ *occ)
#endif
}
-/* Create a new et tree occurence of NODE. */
+/* Create a new et tree occurrence of NODE. */
static struct et_occ *
et_new_occ (struct et_node *node)