diff options
author | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-10 02:14:26 +0000 |
---|---|---|
committer | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-10 02:14:26 +0000 |
commit | d6175f0f157496312d6e9028057e5d7426776fae (patch) | |
tree | c454a2fe908497cd8a317f531faafcecb078fda1 /gcc/function.c | |
parent | 84da2f21a87314eee8e61007a6c621e9d8d10765 (diff) | |
download | gcc-d6175f0f157496312d6e9028057e5d7426776fae.tar.gz |
* 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".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44750 138bc75d-0d04-0410-961f-82ee72b054a4
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 f344cb53fdb..af1c87befb6 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. */ |