diff options
author | Jason Merrill <jason@redhat.com> | 2001-08-10 10:01:33 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2001-08-10 10:01:33 -0400 |
commit | 07b2f2fd6efdf33ab13eb31fc8ea38668dbf6ed6 (patch) | |
tree | d9f451da73883db76d0425e08382fce4bb154737 /gcc/c-common.h | |
parent | 67070ffeb0f10bcc841e87756d18eb85de1ab8a8 (diff) | |
download | gcc-07b2f2fd6efdf33ab13eb31fc8ea38668dbf6ed6.zip gcc-07b2f2fd6efdf33ab13eb31fc8ea38668dbf6ed6.tar.gz gcc-07b2f2fd6efdf33ab13eb31fc8ea38668dbf6ed6.tar.bz2 |
c-common.h (RETURN_NULLIFIED_P): Lose.
* c-common.h (RETURN_NULLIFIED_P): Lose.
* c-semantics.c (genrtl_return_stmt): Don't check it.
Support named return value optimization for inlines, too.
* decl.c (finish_function): Nullify returns here.
* semantics.c (genrtl_start_function): Not here.
(cp_expand_stmt): Don't mess with CLEANUP_STMTs.
(nullify_returns_r): No longer static. Just clear RETURN_EXPR.
Also nullify the CLEANUP_STMT for the nrv.
* cp-tree.h: Declare it.
* optimize.c (declare_return_variable): Replace the nrv with the
return variable.
* typeck.c (check_return_expr): Be more flexible on alignment check.
Ignore cv-quals when checking for a matching type.
From-SVN: r44762
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r-- | gcc/c-common.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h index 0ba64b12..edd0868 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -32,7 +32,6 @@ Boston, MA 02111-1307, USA. */ SCOPE_BEGIN_P (in SCOPE_STMT) DECL_PRETTY_FUNCTION_P (in VAR_DECL) NEW_FOR_SCOPE_P (in FOR_STMT) - RETURN_NULLIFIED_P (in RETURN_STMT) ASM_INPUT_P (in ASM_STMT) 1: C_DECLARED_LABEL_FLAG (in LABEL_DECL) STMT_IS_FULL_EXPR_P (in _STMT) @@ -597,7 +596,6 @@ extern tree strip_array_types PARAMS ((tree)); return statement, and whether it should be ignored when expanding (as opposed to inlining). */ #define RETURN_EXPR(NODE) TREE_OPERAND (RETURN_STMT_CHECK (NODE), 0) -#define RETURN_NULLIFIED_P(NODE) TREE_LANG_FLAG_0 (RETURN_STMT_CHECK (NODE)) /* EXPR_STMT accessor. This gives the expression associated with an expression statement. */ |