From: Richard Kenner Date: Thu, 25 Apr 1996 18:05:09 +0000 (-0400) Subject: (expand_builtin, case BUILT_IN_SETJMP): CLOBBER the static chain after X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=477efd500b645f92f6e9ee2997d94b7bbb5d6ab7;p=gcc.git (expand_builtin, case BUILT_IN_SETJMP): CLOBBER the static chain after label at setjmp point. From-SVN: r11886 --- diff --git a/gcc/expr.c b/gcc/expr.c index 278cfb36af4..f61ff823a21 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -8593,6 +8593,10 @@ expand_builtin (exp, target, subtarget, mode, ignore) make sure it's marked as used by this function. */ 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 pointer, if needed. The code below is from expand_end_bindings in stmt.c; see detailed documentation there. */