calls.c (emit_call_1): Nothrow functions can still have nonlocal gotos.

* calls.c (emit_call_1): Nothrow functions can still have nonlocal
        gotos.

From-SVN: r32579
This commit is contained in:
Jason Merrill 2000-03-16 07:44:30 +00:00 committed by Jason Merrill
parent 87b824c3ed
commit 54cea12317
2 changed files with 6 additions and 1 deletions

View 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.

View 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