]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c-tree.texi (Function Bodies): Remove description of RETURN_INIT.
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Mon, 5 Dec 2005 22:21:29 +0000 (22:21 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Mon, 5 Dec 2005 22:21:29 +0000 (22:21 +0000)
        * doc/c-tree.texi (Function Bodies): Remove description of
        RETURN_INIT.

From-SVN: r108078

gcc/ChangeLog
gcc/doc/c-tree.texi

index f9c5b17373dabb4623066fd77dc94a6c01360065..949b5a8912fd201dddf460c649a766bbaea627ec 100644 (file)
@@ -1,3 +1,8 @@
+2005-12-05  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+
+       * doc/c-tree.texi (Function Bodies): Remove description of
+       RETURN_INIT.
+
 2005-12-05  Joseph S. Myers  <joseph@codesourcery.com>
 
        * doc/libgcc.texi (__floatunsisf, __floatunsidf, __floatunsitf,
index 0163c5e2f858815c4b92e724f0367e31ec059913..5045b72eb60620d325c5c4cd35fffd35bde5d521 100644 (file)
@@ -1477,7 +1477,6 @@ This predicate holds if the function an overloaded
 @findex IF_COND
 @findex THEN_CLAUSE
 @findex ELSE_CLAUSE
-@tindex RETURN_INIT
 @tindex RETURN_STMT
 @findex RETURN_EXPR
 @tindex SUBOBJECT
@@ -1720,22 +1719,6 @@ statement can be obtained with the @code{LABEL_EXPR_LABEL} macro.  The
 @code{IDENTIFIER_NODE} giving the name of the label can be obtained from
 the @code{LABEL_DECL} with @code{DECL_NAME}.
 
-@item RETURN_INIT
-
-If the function uses the G++ ``named return value'' extension, meaning
-that the function has been defined like:
-@smallexample
-S f(int) return s @{@dots{}@}
-@end smallexample
-then there will be a @code{RETURN_INIT}.  There is never a named
-returned value for a constructor.  The first argument to the
-@code{RETURN_INIT} is the name of the object returned; the second
-argument is the initializer for the object.  The object is initialized
-when the @code{RETURN_INIT} is encountered.  The object referred to is
-the actual object returned; this extension is a manual way of doing the
-``return-value optimization''.  Therefore, the object must actually be
-constructed in the place where the object will be returned.
-
 @item RETURN_STMT
 
 Used to represent a @code{return} statement.  The @code{RETURN_EXPR} is