aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-08-11 13:16:12 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-08-11 13:16:12 -0700
commitab61c93f125a616dd55959f08e81d4fa77232ccf (patch)
tree23d2a9dfb45208c4879271550c47c17a38a8f5bc
parent58f4de4f271c66738b406b43cff19661ec5d9b5a (diff)
downloadgcc-ab61c93f125a616dd55959f08e81d4fa77232ccf.zip
gcc-ab61c93f125a616dd55959f08e81d4fa77232ccf.tar.gz
gcc-ab61c93f125a616dd55959f08e81d4fa77232ccf.tar.bz2
* combine.c (distribute_notes): Place REG_SETJMP.
From-SVN: r44806
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/combine.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 481c55c..68d9b25 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2001-08-11 Richard Henderson <rth@redhat.com>
+ * combine.c (distribute_notes): Place REG_SETJMP.
+
+2001-08-11 Richard Henderson <rth@redhat.com>
+
* doc/extend.texi (Arrays and pointers implementation): Discourage
relying on sign-extension of pointers.
diff --git a/gcc/combine.c b/gcc/combine.c
index 8123180..8a5fa63 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -12010,6 +12010,7 @@ distribute_notes (notes, from_insn, i3, i2, elim_i2, elim_i1)
case REG_EH_RETHROW:
case REG_NORETURN:
+ case REG_SETJMP:
/* 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)