From: Aldy Hernandez Date: Thu, 14 Sep 2006 01:17:15 +0000 (+0000) Subject: tree-ssa.texi (Jumps): RESULT_DECL can also be an operand of a RETURN_EXPR X-Git-Tag: releases/gcc-4.2.0~1400 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f5efb27f743ce6bab0fe4f33a9573313e24dacdb;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b0b36ce1380f..3fe8fe5fea82 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-09-13 Aldy Hernandez + + * doc/tree-ssa.texi (Jumps): RESULT_DECL can also be an operand + of a RETURN_EXPR + 2006-09-13 Andrew Pinski PR debug/28980 diff --git a/gcc/doc/tree-ssa.texi b/gcc/doc/tree-ssa.texi index 016f812fed47..9f6b8998adc3 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}.