diff options
Diffstat (limited to 'gcc/c-semantics.c')
-rw-r--r-- | gcc/c-semantics.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c index 2ee2647..e05ae76 100644 --- a/gcc/c-semantics.c +++ b/gcc/c-semantics.c @@ -462,13 +462,7 @@ genrtl_return_stmt (stmt) { tree expr; - /* If RETURN_NULLIFIED_P is set, the frontend has arranged to set up - the return value separately, so just return the return value - itself. This is used for the C++ named return value optimization. */ - if (RETURN_NULLIFIED_P (stmt)) - expr = DECL_RESULT (current_function_decl); - else - expr = RETURN_EXPR (stmt); + expr = RETURN_EXPR (stmt); emit_line_note (input_filename, lineno); if (!expr) |