summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-21 18:49:56 +0000
committergrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-21 18:49:56 +0000
commit1e48a998951473983b7c31389ea904f8f2211394 (patch)
tree6f85fcaa0500685e41263805e4b3f92e7f0651a0
parent4fe2096b349c216482c8f58157a399f7d18d597b (diff)
downloadppe42-gcc-1e48a998951473983b7c31389ea904f8f2211394.tar.gz
ppe42-gcc-1e48a998951473983b7c31389ea904f8f2211394.zip
* combine.c (distribute_notes): Handle REG_NON_LOCAL_GOTO notes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38422 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/combine.c9
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3343904186b..dd009d76e14 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-12-21 Graham Stott <grahams@redhat.com>
+
+ * combine.c (distribute_notes): Handle REG_NON_LOCAL_GOTO notes.
+
2000-12-21 Bernd Schmidt <bernds@redhat.com>
* Makefile.in (out_object_file): Depend on sched-int.h.
diff --git a/gcc/combine.c b/gcc/combine.c
index 5240e88ed9b..e8a478f501a 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -12124,6 +12124,15 @@ distribute_notes (notes, from_insn, i3, i2, elim_i2, elim_i1)
place = i3;
break;
+ case REG_NON_LOCAL_GOTO:
+ if (GET_CODE (i3) == JUMP_INSN)
+ place = i3;
+ else if (i2 && GET_CODE (i2) == JUMP_INSN)
+ place = i2;
+ else
+ abort();
+ break;
+
case REG_EH_REGION:
case REG_EH_RETHROW:
case REG_NORETURN:
OpenPOWER on IntegriCloud