aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2006-09-14 01:17:15 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2006-09-14 01:17:15 +0000
commitf5efb27f743ce6bab0fe4f33a9573313e24dacdb (patch)
treef1bbd4966a0a87b55fb3ed26dcba565e35814543
parent3c3f1a6f39914d92cccd9b7377d931b32e7067f8 (diff)
downloadgcc-f5efb27f743ce6bab0fe4f33a9573313e24dacdb.zip
gcc-f5efb27f743ce6bab0fe4f33a9573313e24dacdb.tar.gz
gcc-f5efb27f743ce6bab0fe4f33a9573313e24dacdb.tar.bz2
tree-ssa.texi (Jumps): RESULT_DECL can also be an operand of a RETURN_EXPR
* doc/tree-ssa.texi (Jumps): RESULT_DECL can also be an operand of a RETURN_EXPR From-SVN: r116940
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/tree-ssa.texi8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b0b36ce..3fe8fe5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-13 Aldy Hernandez <aldyh@redhat.com>
+
+ * doc/tree-ssa.texi (Jumps): RESULT_DECL can also be an operand
+ of a RETURN_EXPR
+
2006-09-13 Andrew Pinski <pinskia@physics.uc.edu>
PR debug/28980
diff --git a/gcc/doc/tree-ssa.texi b/gcc/doc/tree-ssa.texi
index 016f812..9f6b899 100644
--- a/gcc/doc/tree-ssa.texi
+++ b/gcc/doc/tree-ssa.texi
@@ -399,10 +399,10 @@ Other jumps are expressed by either @code{GOTO_EXPR} or @code{RETURN_EXPR}.
The operand of a @code{GOTO_EXPR} must be either a label or a variable
containing the address to jump to.
-The operand of a @code{RETURN_EXPR} is either @code{NULL_TREE} or a
-@code{MODIFY_EXPR} which sets the return value. It would be nice to
-move the @code{MODIFY_EXPR} into a separate statement, but the special
-return semantics in @code{expand_return} make that difficult. It may
+The operand of a @code{RETURN_EXPR} is either @code{NULL_TREE},
+@code{RESULT_DECL}, or a @code{MODIFY_EXPR} which sets the return value. It
+would be nice to move the @code{MODIFY_EXPR} into a separate statement, but the
+special return semantics in @code{expand_return} make that difficult. It may
still happen in the future, perhaps by moving most of that logic into
@code{expand_assignment}.