summaryrefslogtreecommitdiffstats
path: root/gcc/tree-nrv.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-30 07:12:58 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-30 07:12:58 +0000
commit365db11eea46f39f4e46a11a6509d212e41c2307 (patch)
tree353029a3fd14257b6028935077f92705d8a886d5 /gcc/tree-nrv.c
parent8ed01400ddf7575d1965862fd356aa32b8efae47 (diff)
downloadppe42-gcc-365db11eea46f39f4e46a11a6509d212e41c2307.tar.gz
ppe42-gcc-365db11eea46f39f4e46a11a6509d212e41c2307.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82439 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-nrv.c')
-rw-r--r--gcc/tree-nrv.c4
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;
OpenPOWER on IntegriCloud