diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-05-30 07:12:58 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-05-30 07:12:58 +0000 |
commit | 1ea7e6ad84d890cc6d002e9e698055de85a28cfd (patch) | |
tree | 353029a3fd14257b6028935077f92705d8a886d5 /gcc/tree-nrv.c | |
parent | b453c95fd3fa689a6d70e8878848e5d6531e9ac5 (diff) | |
download | gcc-1ea7e6ad84d890cc6d002e9e698055de85a28cfd.tar.gz |
c-common.c, [...]: Fix comment typos.
* c-common.c, calls.c, cfgcleanup.c, cgraph.c, cgraphunit.c,
ddg.c, ddg.h, df.c, df.h, except.c, expr.c, flags.h,
fold-const.c, gcc.c, gimplify.c, haifa-sched.c,
modulo-sched.c, tree-inline.c, tree-into-ssa.c, tree-nested.c,
tree-nrv.c, tree-ssa-ccp.c, tree-ssa-dom.c, tree-ssa-live.c,
tree-ssa-loop.c, tree-ssa-pre.c, tree-tailcall.c, tree.h: Fix
comment typos. Follow spelling conventions.
From-SVN: r82439
Diffstat (limited to 'gcc/tree-nrv.c')
-rw-r--r-- | gcc/tree-nrv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-nrv.c b/gcc/tree-nrv.c index 2c344967d66..1768b3909b9 100644 --- a/gcc/tree-nrv.c +++ b/gcc/tree-nrv.c @@ -54,7 +54,7 @@ struct nrv_data this function's RETURN_EXPR statements. */ tree var; - /* This is the function's RESULT_DECL. We will replace all occurences + /* This is the function's RESULT_DECL. We will replace all occurrences of VAR with RESULT_DECL when we apply this optimization. */ tree result; }; @@ -84,7 +84,7 @@ finalize_nrv_r (tree *tp, int *walk_subtrees, void *data) to RESULT. */ else if (TREE_CODE (*tp) == RETURN_EXPR) TREE_OPERAND (*tp, 0) = dp->result; - /* Replace all occurences of VAR with RESULT. */ + /* Replace all occurrences of VAR with RESULT. */ else if (*tp == dp->var) *tp = dp->result; |