diff options
Diffstat (limited to 'gcc/except.c')
-rw-r--r-- | gcc/except.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/except.c b/gcc/except.c index d2c3d25..44507f8 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -2629,7 +2629,7 @@ can_throw (insn) if (GET_CODE (insn) == CALL_INSN) { rtx note = find_reg_note (insn, REG_EH_REGION, NULL_RTX); - if (!note || INTVAL (XEXP (note, 0), 0) > 0) + if (!note || INTVAL (XEXP (note, 0)) > 0) return 1; } @@ -3390,7 +3390,7 @@ reachable_handlers (block, info, insn, handlers) note = find_reg_note (insn, REG_EH_REGION, NULL_RTX); if (note) { - int b = INTVAL (XEXP (note, 0), 0); + int b = INTVAL (XEXP (note, 0)); if (b <= 0) index = 0; else |