aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>2004-06-24 18:47:42 -0400
committerRichard Kenner <kenner@gcc.gnu.org>2004-06-24 18:47:42 -0400
commit500b9b49b224e0dd1589043b7d6992edfecb5816 (patch)
treecc1888eaa9f2a6bfbcd06bac8fa745e979d31fd9 /gcc
parent940db2c87c3406a8d1a86890f3e2958ab503b880 (diff)
downloadgcc-500b9b49b224e0dd1589043b7d6992edfecb5816.zip
gcc-500b9b49b224e0dd1589043b7d6992edfecb5816.tar.gz
gcc-500b9b49b224e0dd1589043b7d6992edfecb5816.tar.bz2
Minor comment and whitespace changes
From-SVN: r83617
Diffstat (limited to 'gcc')
-rw-r--r--gcc/tree-nrv.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/tree-nrv.c b/gcc/tree-nrv.c
index 1768b39..4732e9c 100644
--- a/gcc/tree-nrv.c
+++ b/gcc/tree-nrv.c
@@ -80,11 +80,12 @@ finalize_nrv_r (tree *tp, int *walk_subtrees, void *data)
/* No need to walk into types. */
if (TYPE_P (*tp))
*walk_subtrees = 0;
- /* If this is a RETURN_EXPR, then set the expression being returned
- to RESULT. */
+
+ /* If this is a RETURN_EXPR, set the expression being returned to RESULT. */
else if (TREE_CODE (*tp) == RETURN_EXPR)
TREE_OPERAND (*tp, 0) = dp->result;
- /* Replace all occurrences of VAR with RESULT. */
+
+ /* Othewise replace all occurrences of VAR with RESULT. */
else if (*tp == dp->var)
*tp = dp->result;