aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@act-europe.fr>2001-11-07 07:33:57 +0100
committerRichard Henderson <rth@gcc.gnu.org>2001-11-06 22:33:57 -0800
commit90f4c415efc65ccd45f21f4a13f276e7f0332398 (patch)
tree02ad9efdf74aee4bae70b8e26b6b86bdbb301b95 /gcc
parentbc532bf72b5c4f37de75c7ef08a364cfd491f7f2 (diff)
downloadgcc-90f4c415efc65ccd45f21f4a13f276e7f0332398.zip
gcc-90f4c415efc65ccd45f21f4a13f276e7f0332398.tar.gz
gcc-90f4c415efc65ccd45f21f4a13f276e7f0332398.tar.bz2
unwind-dw2.c (execute_cfa_program): Evaluate call frame instructions up to the target pc inclusive.
* unwind-dw2.c (execute_cfa_program): Evaluate call frame instructions up to the target pc inclusive. From-SVN: r46818
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/unwind-dw2.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ab7b2fa..dab2e25 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-06 Olivier Hainque <hainque@act-europe.fr>
+
+ * unwind-dw2.c (execute_cfa_program): Evaluate call frame
+ instructions up to the target pc inclusive.
+
2001-11-06 Steve Christiansen <smc@us.ibm.com>
* loop.c (loop_regs_scan): Don't invalidate PIC register.
diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c
index e013ce6..5d335c6 100644
--- a/gcc/unwind-dw2.c
+++ b/gcc/unwind-dw2.c
@@ -700,7 +700,7 @@ execute_cfa_program (const unsigned char *insn_ptr,
/* Don't allow remember/restore between CIE and FDE programs. */
fs->regs.prev = NULL;
- while (insn_ptr < insn_end && fs->pc < context->ra)
+ while (insn_ptr < insn_end && fs->pc <= context->ra)
{
unsigned char insn = *insn_ptr++;
_Unwind_Word reg, utmp;