From f7cfa78deb41ee9deb2908d8cac07107913b4425 Mon Sep 17 00:00:00 2001 From: Graham Stott Date: Thu, 21 Dec 2000 18:49:56 +0000 Subject: [PATCH] * combine.c (distribute_notes): Handle REG_NON_LOCAL_GOTO notes. From-SVN: r38422 --- gcc/ChangeLog | 4 ++++ gcc/combine.c | 9 +++++++++ 2 files changed, 13 insertions(+) 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 + + * combine.c (distribute_notes): Handle REG_NON_LOCAL_GOTO notes. + 2000-12-21 Bernd Schmidt * 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: -- 2.30.2