]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
frame.c (__frame_state_for): Execute the FDE insns until the current pc value is...
authorAndreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Tue, 7 Oct 1997 18:42:54 +0000 (18:42 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 7 Oct 1997 18:42:54 +0000 (14:42 -0400)
       * frame.c (__frame_state_for): Execute the FDE insns until the
        current pc value is strictly bigger than the target pc value.

From-SVN: r15863

gcc/ChangeLog
gcc/frame.c

index fb9cd7cf33289fae50de1069f800e07e867ca977..78936124320ee8d7146c1a20deb57135d0f8a6cc 100644 (file)
@@ -1,3 +1,8 @@
+1997-10-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * frame.c (__frame_state_for): Execute the FDE insns until the
+       current pc value is strictly bigger than the target pc value.
+
 Tue Oct  7 11:00:42 1997  Jason Merrill  <jason@yorick.cygnus.com>
 
        * regclass.c (init_reg_modes): If we can't find a mode for the 
index f77f0694d3cb8f7437e7e23f08920ebab138f258..b13167e62a26a06e6c283db36ada2ab9da50e458 100644 (file)
@@ -599,7 +599,7 @@ __frame_state_for (void *pc_target, struct frame_state *state_in)
   /* Then the insns in the FDE up to our target PC.  */
   end = next_fde (f);
   pc = f->pc_begin;
-  while (insn < end && pc < pc_target)
+  while (insn < end && pc <= pc_target)
     insn = execute_cfa_insn (insn, &state, &info, &pc);
 
   memcpy (state_in, &state.s, sizeof (state.s));