summaryrefslogtreecommitdiffstats
path: root/gcc/frame.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1997-10-07 18:42:54 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1997-10-07 18:42:54 +0000
commit6a2a3ea4ff87fa4021279923a27c4a3f7ed38a81 (patch)
tree570efbb70b5084d0b975f6a558e00b8afb3f4376 /gcc/frame.c
parent0868ea21756934034682c5e633bcc62876af8799 (diff)
downloadppe42-gcc-6a2a3ea4ff87fa4021279923a27c4a3f7ed38a81.tar.gz
ppe42-gcc-6a2a3ea4ff87fa4021279923a27c4a3f7ed38a81.zip
* frame.c (__frame_state_for): Execute the FDE insns until the
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
Diffstat (limited to 'gcc/frame.c')
-rw-r--r--gcc/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/frame.c b/gcc/frame.c
index f77f0694d3c..b13167e62a2 100644
--- a/gcc/frame.c
+++ b/gcc/frame.c
@@ -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));
OpenPOWER on IntegriCloud