From 477efd500b645f92f6e9ee2997d94b7bbb5d6ab7 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Thu, 25 Apr 1996 14:05:09 -0400 Subject: [PATCH] (expand_builtin, case BUILT_IN_SETJMP): CLOBBER the static chain after label at setjmp point. From-SVN: r11886 --- gcc/expr.c | 4 ++++ 1 file changed, 4 insertions(+) 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. */ -- 2.30.2