Commit 54cea123 by Jason Merrill Committed by Jason Merrill

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
parent 87b824c3
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> 2000-03-15 Geoff Keating <geoffk@cygnus.com>
See the ChangeLog on the branch for more details. See the ChangeLog on the branch for more details.
......
...@@ -495,7 +495,7 @@ emit_call_1 (funexp, fndecl, funtype, stack_size, rounded_stack_size, ...@@ -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 /* If this call can't throw, attach a REG_EH_REGION reg note to that
effect. */ effect. */
if (nothrow) 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)); REG_NOTES (call_insn));
/* Restore this now, so that we do defer pops for this call's args /* Restore this now, so that we do defer pops for this call's args
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment