summaryrefslogtreecommitdiffstats
path: root/gcc/unwind-dw2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/unwind-dw2.c')
-rw-r--r--gcc/unwind-dw2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c
index e013ce67317..5d335c6cc64 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;
OpenPOWER on IntegriCloud