Commit 477efd50 by Richard Kenner

(expand_builtin, case BUILT_IN_SETJMP): CLOBBER the static chain after

label at setjmp point.

From-SVN: r11886
parent 5c7ad97f
...@@ -8593,6 +8593,10 @@ expand_builtin (exp, target, subtarget, mode, ignore) ...@@ -8593,6 +8593,10 @@ expand_builtin (exp, target, subtarget, mode, ignore)
make sure it's marked as used by this function. */ make sure it's marked as used by this function. */
emit_insn (gen_rtx (USE, VOIDmode, hard_frame_pointer_rtx)); emit_insn (gen_rtx (USE, VOIDmode, hard_frame_pointer_rtx));
/* Mark the static chain as clobbered here so life information
doesn't get messed up for it. */
emit_insn (gen_rtx (CLOBBER, VOIDmode, static_chain_rtx));
/* Now put in the code to restore the frame pointer, and argument /* Now put in the code to restore the frame pointer, and argument
pointer, if needed. The code below is from expand_end_bindings pointer, if needed. The code below is from expand_end_bindings
in stmt.c; see detailed documentation there. */ in stmt.c; see detailed documentation there. */
......
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