Commit 7c5f52db by Nick Clifton Committed by Nick Clifton

Include a (return) in the epilogue, and emit it using emit_jump_insn not

emit_insn.

From-SVN: r31899
parent 44affdae
2000-02-10 Nick Clifton <nickc@cygnus.com>
* config/arm/thumb.md (epilogue): Include a (return) in the
generated insn, and emit it using emit_jump_insn not
emit_insn.
Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz> Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
* function.c (assign_temp): Change zero-sized arrays to size 1. * function.c (assign_temp): Change zero-sized arrays to size 1.
......
...@@ -1107,14 +1107,17 @@ ...@@ -1107,14 +1107,17 @@
") ")
(define_expand "epilogue" (define_expand "epilogue"
[(unspec_volatile [(const_int 0)] 1)] [(unspec_volatile [(return)] 1)]
"! thumb_trivial_epilogue ()" "! thumb_trivial_epilogue ()"
" "
thumb_expand_epilogue (); thumb_expand_epilogue ();
emit_jump_insn (gen_rtx_UNSPEC_VOLATILE (VOIDmode,
gen_rtvec (1, gen_rtx_RETURN (VOIDmode)), 1));
DONE;
") ")
(define_insn "*epilogue_insns" (define_insn "*epilogue_insns"
[(unspec_volatile [(const_int 0)] 1)] [(unspec_volatile [(return)] 1)]
"" ""
"* "*
return thumb_unexpanded_epilogue (); return thumb_unexpanded_epilogue ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment