summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@casey.cygnus.com>2000-03-16 07:44:30 +0000
committerJason Merrill <jason@gcc.gnu.org>2000-03-16 02:44:30 -0500
commit54cea123170460a6e49a7593675eb8e6b049a03b (patch)
tree5c9cd567c488c4577d5baa3c4026765ffa81a922 /gcc
parent87b824c3ed1dd4c14f7f50597adc277972716999 (diff)
downloadgcc-54cea123170460a6e49a7593675eb8e6b049a03b.tar.gz
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/calls.c2
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