diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-16 07:44:30 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-16 07:44:30 +0000 |
commit | 4e834ca847690e400a1f594d65730f66593f15b1 (patch) | |
tree | 5c9cd567c488c4577d5baa3c4026765ffa81a922 /gcc | |
parent | 56f3c8057c1545fb1b02fd211a24799dc6cdda6d (diff) | |
download | ppe42-gcc-4e834ca847690e400a1f594d65730f66593f15b1.tar.gz ppe42-gcc-4e834ca847690e400a1f594d65730f66593f15b1.zip |
* calls.c (emit_call_1): Nothrow functions can still have nonlocal
gotos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32579 138bc75d-0d04-0410-961f-82ee72b054a4
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 |