OSDN Git Service

* frame.c (__frame_state_for): Execute the FDE insns until the
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Oct 1997 18:42:54 +0000 (18:42 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Oct 1997 18:42:54 +0000 (18:42 +0000)
        current pc value is strictly bigger than the target pc value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15863 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/frame.c

index fb9cd7c..7893612 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 f77f069..b13167e 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));