OSDN Git Service

* calls.c (emit_call_1): Nothrow functions can still have nonlocal
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Mar 2000 07:44:30 +0000 (07:44 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Mar 2000 07:44:30 +0000 (07:44 +0000)
        gotos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32579 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/calls.c

index 5b521c3..6290bf6 100644 (file)
@@ -1,3 +1,8 @@
+2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
+
+       * calls.c (emit_call_1): Nothrow functions can still have nonlocal
+       gotos.
+
 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
 
        See the ChangeLog on the branch for more details.
index 60d5513..7ae7b3d 100644 (file)
@@ -495,7 +495,7 @@ emit_call_1 (funexp, fndecl, funtype, stack_size, rounded_stack_size,
   /* If this call can't throw, attach a REG_EH_REGION reg note to that
      effect.  */
   if (nothrow)
-    REG_NOTES (call_insn) = gen_rtx_EXPR_LIST (REG_EH_REGION, GEN_INT (-1),
+    REG_NOTES (call_insn) = gen_rtx_EXPR_LIST (REG_EH_REGION, const0_rtx,
                                               REG_NOTES (call_insn));
 
   /* Restore this now, so that we do defer pops for this call's args