aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-11 22:02:47 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-11 22:02:47 +0000
commit526c334b94b9d19f3ffcbaaf6d8e01ba3724efb0 (patch)
tree7bf1ea066da552107d41de67ea7ccaa2adaff76b /gcc/function.c
parent2f71a82e6631d9e1a07e721a479359a1ad7ac0ea (diff)
downloadgcc-526c334b94b9d19f3ffcbaaf6d8e01ba3724efb0.zip
gcc-526c334b94b9d19f3ffcbaaf6d8e01ba3724efb0.tar.gz
gcc-526c334b94b9d19f3ffcbaaf6d8e01ba3724efb0.tar.bz2
function.c (expand_function_end): Remove an "if" statement that always trigger.
* function.c (expand_function_end): Remove an "if" statement that always trigger. * stmt.c (expand_null_return_1): Likewise. From-SVN: r90497
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 338ad96..1882901 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -4317,13 +4317,8 @@ expand_function_end (void)
is computed. */
clobber_after = get_last_insn ();
- /* Output the label for the actual return from the function,
- if one is expected. This happens either because a function epilogue
- is used instead of a return instruction, or because a return was done
- with a goto in order to run local cleanups, or because of pcc-style
- structure returning. */
- if (return_label)
- emit_label (return_label);
+ /* Output the label for the actual return from the function. */
+ emit_label (return_label);
/* Let except.c know where it should emit the call to unregister
the function context for sjlj exceptions. */