unwind-dw2.c (execute_cfa_program): Evaluate call frame instructions up to the target...
authorOlivier Hainque <hainque@act-europe.fr>
Wed, 7 Nov 2001 06:33:57 +0000 (07:33 +0100)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 7 Nov 2001 06:33:57 +0000 (22:33 -0800)
        * unwind-dw2.c (execute_cfa_program): Evaluate call frame
        instructions up to the target pc inclusive.

From-SVN: r46818

gcc/ChangeLog
gcc/unwind-dw2.c

index ab7b2fa..dab2e25 100644 (file)
@@ -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.
index e013ce6..5d335c6 100644 (file)
@@ -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;