bfin.md (eh_return): Call emit_jump_insn instead of emit_insn to emit eh_return_internal instruction.
* config/bfin/bfin.md (eh_return): Call emit_jump_insn instead of emit_insn to emit eh_return_internal instruction. (eh_return_internal): Explicitly set pc. From-SVN: r117662
This commit is contained in:
parent
f724eac4c5
commit
1e96b1c34f
@ -1,3 +1,9 @@
|
||||
2006-10-12 Jie Zhang <jie.zhang@analog.com>
|
||||
|
||||
* config/bfin/bfin.md (eh_return): Call emit_jump_insn instead of
|
||||
emit_insn to emit eh_return_internal instruction.
|
||||
(eh_return_internal): Explicitly set pc.
|
||||
|
||||
2006-10-11 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/28230
|
||||
|
@ -2337,13 +2337,14 @@
|
||||
""
|
||||
{
|
||||
emit_move_insn (EH_RETURN_HANDLER_RTX, operands[0]);
|
||||
emit_insn (gen_eh_return_internal ());
|
||||
emit_jump_insn (gen_eh_return_internal ());
|
||||
emit_barrier ();
|
||||
DONE;
|
||||
})
|
||||
|
||||
(define_insn_and_split "eh_return_internal"
|
||||
[(unspec_volatile [(reg:SI REG_P2)] UNSPEC_VOLATILE_EH_RETURN)]
|
||||
[(set (pc)
|
||||
(unspec_volatile [(reg:SI REG_P2)] UNSPEC_VOLATILE_EH_RETURN))]
|
||||
""
|
||||
"#"
|
||||
"reload_completed"
|
||||
|
Loading…
x
Reference in New Issue
Block a user