summaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-11 22:02:47 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-11 22:02:47 +0000
commit7861133ff1ceb324a0272f2a8d5f5046ef47fdb3 (patch)
tree7bf1ea066da552107d41de67ea7ccaa2adaff76b /gcc/stmt.c
parent7a9c10e84936abd1be2d0371041fe0b8667688f9 (diff)
downloadgcc-7861133ff1ceb324a0272f2a8d5f5046ef47fdb3.tar.gz
* function.c (expand_function_end): Remove an "if" statement
that always trigger. * stmt.c (expand_null_return_1): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90497 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r--gcc/stmt.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c
index d7f37a30f7b..3066a8b4123 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -1564,15 +1564,9 @@ expand_value_return (rtx val)
static void
expand_null_return_1 (void)
{
- rtx end_label;
-
clear_pending_stack_adjust ();
do_pending_stack_adjust ();
-
- end_label = return_label;
- if (end_label == 0)
- end_label = return_label = gen_label_rtx ();
- emit_jump (end_label);
+ emit_jump (return_label);
}
/* Generate RTL to evaluate the expression RETVAL and return it