diff options
| author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-10 19:21:06 +0000 |
|---|---|---|
| committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-10 19:21:06 +0000 |
| commit | 3f28ed794d4bee8b807d7b080cd49765c82e2989 (patch) | |
| tree | 6f3290e83e44b7cc1ab4d1712c55210cf404bc27 /gcc | |
| parent | 3e59bcee66b7ff68b54f6426f2ebc655d0f010ac (diff) | |
| download | ppe42-gcc-3f28ed794d4bee8b807d7b080cd49765c82e2989.tar.gz ppe42-gcc-3f28ed794d4bee8b807d7b080cd49765c82e2989.zip | |
Fix typo last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32472 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/except.c | 4 | ||||
| -rw-r--r-- | gcc/flow.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/except.c b/gcc/except.c index d2c3d251719..44507f82658 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 diff --git a/gcc/flow.c b/gcc/flow.c index 05118223bd7..26c1a6faa0d 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -466,7 +466,7 @@ count_basic_blocks (f) if (code == CALL_INSN) { rtx note = find_reg_note (insn, REG_EH_REGION, NULL_RTX); - int region = (note ? INTVAL (XEXP (note, 0), 0) : 1); + int region = (note ? INTVAL (XEXP (note, 0)) : 1); prev_call = insn; call_had_abnormal_edge = 0; @@ -540,7 +540,7 @@ find_basic_blocks_1 (f) { /* Record whether this call created an edge. */ rtx note = find_reg_note (insn, REG_EH_REGION, NULL_RTX); - int region = (note ? INTVAL (XEXP (note, 0), 0) : 1); + int region = (note ? INTVAL (XEXP (note, 0)) : 1); call_has_abnormal_edge = 0; /* If there is an EH region or rethrow, we have an edge. */ |

