From 0499d0accb35c84c32ab94cf0f896dc1519e2b08 Mon Sep 17 00:00:00 2001 From: Gabriel Dos Reis Date: Mon, 5 Dec 2005 22:21:29 +0000 Subject: [PATCH] c-tree.texi (Function Bodies): Remove description of RETURN_INIT. * doc/c-tree.texi (Function Bodies): Remove description of RETURN_INIT. From-SVN: r108078 --- gcc/ChangeLog | 5 +++++ gcc/doc/c-tree.texi | 17 ----------------- 2 files changed, 5 insertions(+), 17 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f9c5b17373d..949b5a8912f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-12-05 Gabriel Dos Reis + + * doc/c-tree.texi (Function Bodies): Remove description of + RETURN_INIT. + 2005-12-05 Joseph S. Myers * doc/libgcc.texi (__floatunsisf, __floatunsidf, __floatunsitf, diff --git a/gcc/doc/c-tree.texi b/gcc/doc/c-tree.texi index 0163c5e2f85..5045b72eb60 100644 --- a/gcc/doc/c-tree.texi +++ b/gcc/doc/c-tree.texi @@ -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