diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/calls.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5b521c38f6d..6290bf6cfbd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/calls.c b/gcc/calls.c index 60d551323da..7ae7b3d60f3 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -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 |