aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1999-08-18 04:57:50 +0000
committerRichard Henderson <rth@gcc.gnu.org>1999-08-17 21:57:50 -0700
commit0e403ec3e01988e07e1276610daddb7d73d0a96c (patch)
treef3d9eded65c69999c8b40f5e425d8039f929bcd3 /gcc
parent212f5d3026a785d0962730023b2292b619bb835e (diff)
downloadgcc-0e403ec3e01988e07e1276610daddb7d73d0a96c.zip
gcc-0e403ec3e01988e07e1276610daddb7d73d0a96c.tar.gz
gcc-0e403ec3e01988e07e1276610daddb7d73d0a96c.tar.bz2
* combine.c (distribute_notes): Handle REG_EH_RETHROW.
From-SVN: r28743
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/combine.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 94305d1..f47730d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
+
+ * combine.c (distribute_notes): Handle REG_EH_RETHROW.
+
Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
* flow.c (create_edge_list): Use xmalloc, not malloc.
diff --git a/gcc/combine.c b/gcc/combine.c
index 9df5ae5..b749b33 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -11407,8 +11407,9 @@ distribute_notes (notes, from_insn, i3, i2, elim_i2, elim_i1)
break;
case REG_EH_REGION:
- /* This note must remain with the call. It should not be possible
- for both I2 and I3 to be a call. */
+ case REG_EH_RETHROW:
+ /* These notes must remain with the call. It should not be
+ possible for both I2 and I3 to be a call. */
if (GET_CODE (i3) == CALL_INSN)
place = i3;
else if (i2 && GET_CODE (i2) == CALL_INSN)