summaryrefslogtreecommitdiff
path: root/gcc/config/vax
diff options
context:
space:
mode:
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-10 02:14:26 +0000
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-10 02:14:26 +0000
commitd6175f0f157496312d6e9028057e5d7426776fae (patch)
treec454a2fe908497cd8a317f531faafcecb078fda1 /gcc/config/vax
parent84da2f21a87314eee8e61007a6c621e9d8d10765 (diff)
downloadgcc-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/config/vax')
-rw-r--r--gcc/config/vax/vax.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/config/vax/vax.md b/gcc/config/vax/vax.md
index efff55aa59e..0f976c7b952 100644
--- a/gcc/config/vax/vax.md
+++ b/gcc/config/vax/vax.md
@@ -1932,6 +1932,15 @@
""
"ret")
+(define_expand "epilogue"
+ [(return)]
+ ""
+ "
+{
+ emit_jump_insn (gen_return ());
+ DONE;
+}")
+
(define_insn "nop"
[(const_int 0)]
""