diff options
author | John David Anglin <dave@hiauly1.hia.nrc.ca> | 2001-08-10 02:14:26 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2001-08-10 02:14:26 +0000 |
commit | 396ad5177cd6efc2dd508bd44beb0197254ee029 (patch) | |
tree | c454a2fe908497cd8a317f531faafcecb078fda1 /gcc/function.c | |
parent | e4124eb3842f195171f2205e1d66be25e99632c9 (diff) | |
download | gcc-396ad5177cd6efc2dd508bd44beb0197254ee029.zip gcc-396ad5177cd6efc2dd508bd44beb0197254ee029.tar.gz gcc-396ad5177cd6efc2dd508bd44beb0197254ee029.tar.bz2 |
stmt.c (expand_null_return_1): Remove code to generate simple returns and "use_goto" argument.
* stmt.c (expand_null_return_1): Remove code to generate simple returns
and "use_goto" argument.
(expand_null_return, expand_value_return): Update all callers.
* function.c (expand_function_end): Remove code to generate simple
return.
* config/vax/vax.md (epilogue): New expander for function return.
* doc/md.texi (epilogue): Remove "if defined".
From-SVN: r44750
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/function.c b/gcc/function.c index f344cb5..af1c87b 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -7016,18 +7016,6 @@ expand_function_end (filename, line, end_bindings) instead of using the general framework. */ use_return_register (); - /* Output a return insn if we are using one. - Otherwise, let the rtl chain end here, to drop through - into the epilogue. */ - -#ifdef HAVE_return - if (HAVE_return) - { - emit_jump_insn (gen_return ()); - emit_barrier (); - } -#endif - /* Fix up any gotos that jumped out to the outermost binding level of the function. Must follow emitting RETURN_LABEL. */ |