]> gcc.gnu.org Git - gcc.git/commitdiff
(expand_builtin, case BUILT_IN_SETJMP): CLOBBER the static chain after
authorRichard Kenner <kenner@gcc.gnu.org>
Thu, 25 Apr 1996 18:05:09 +0000 (14:05 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 25 Apr 1996 18:05:09 +0000 (14:05 -0400)
label at setjmp point.

From-SVN: r11886

gcc/expr.c

index 278cfb36af4de1e39f103498f87d2b5dd7abbdcd..f61ff823a21ad72d79e6b9a6f97a6b317df78d66 100644 (file)
@@ -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.  */
This page took 0.070909 seconds and 5 git commands to generate.