Commit 41fe17ab by Richard Kenner

(find_equiv_reg): Check for nonsaving setjmp.

From-SVN: r10537
parent 37539f4f
...@@ -5591,6 +5591,12 @@ find_equiv_reg (goal, insn, class, other, reload_reg_p, goalreg, mode) ...@@ -5591,6 +5591,12 @@ find_equiv_reg (goal, insn, class, other, reload_reg_p, goalreg, mode)
|| need_stable_sp)) || need_stable_sp))
return 0; return 0;
#ifdef NON_SAVING_SETJMP
if (NON_SAVING_SETJMP && GET_CODE (p) == NOTE
&& NOTE_LINE_NUMBER (p) == NOTE_INSN_SETJMP)
return 0;
#endif
#ifdef INSN_CLOBBERS_REGNO_P #ifdef INSN_CLOBBERS_REGNO_P
if ((valueno >= 0 && valueno < FIRST_PSEUDO_REGISTER if ((valueno >= 0 && valueno < FIRST_PSEUDO_REGISTER
&& INSN_CLOBBERS_REGNO_P (p, valueno)) && INSN_CLOBBERS_REGNO_P (p, valueno))
......
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