fr30.c (TARGET_EXCEPT_UNWIND_INFO): Define.

* config/fr30/fr30.c (TARGET_EXCEPT_UNWIND_INFO): Define.
	* config/fr30/fr30.md (leave_func): Rewrite without post_inc.

From-SVN: r165173
This commit is contained in:
Nathan Froyd 2010-10-08 13:01:54 +00:00 committed by Nathan Froyd
parent 6f123e484c
commit 0db0c8367c
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-10-08 Nathan Froyd <froydnj@codesourcery.com>
* config/fr30/fr30.c (TARGET_EXCEPT_UNWIND_INFO): Define.
* config/fr30/fr30.md (leave_func): Rewrite without post_inc.
2010-10-08 Nathan Froyd <froydnj@codesourcery.com>
* config/mcore/mcore.h (INCOMING_RETURN_ADDR_RTX): Define.

View File

@ -172,6 +172,9 @@ static void fr30_trampoline_init (rtx, tree, rtx);
#undef TARGET_TRAMPOLINE_INIT
#define TARGET_TRAMPOLINE_INIT fr30_trampoline_init
#undef TARGET_EXCEPT_UNWIND_INFO
#define TARGET_EXCEPT_UNWIND_INFO sjlj_except_unwind_info
struct gcc_target targetm = TARGET_INITIALIZER;

View File

@ -1203,8 +1203,8 @@
)
(define_insn "leave_func"
[(set (reg:SI 15) (reg:SI 14))
(set (reg:SI 14) (mem:SI (post_inc:SI (reg:SI 15))))]
[(set (reg:SI 15) (plus:SI (reg:SI 14) (const_int 4)))
(set (reg:SI 14) (mem:SI (minus:SI (reg:SI 15) (const_int 4))))]
"reload_completed"
"leave"
)