diff options
author | Richard Henderson <rth@cygnus.com> | 2000-03-10 11:12:53 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2000-03-10 11:12:53 -0800 |
commit | bee249aac128cdabd148e7dc007c7fba9c34a7fa (patch) | |
tree | e495ce928015e4eb972d4a5b5e632bcbfc24a90d /gcc/flow.c | |
parent | 602f9606d6ba9cdbf18d0e4d538aed75d99c220a (diff) | |
download | gcc-bee249aac128cdabd148e7dc007c7fba9c34a7fa.zip gcc-bee249aac128cdabd148e7dc007c7fba9c34a7fa.tar.gz gcc-bee249aac128cdabd148e7dc007c7fba9c34a7fa.tar.bz2 |
except.c (can_throw): Use INTVAL on a CONST_INT.
* except.c (can_throw): Use INTVAL on a CONST_INT.
(reachable_handlers): Likewise.
* flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
From-SVN: r32471
Diffstat (limited to 'gcc/flow.c')
-rw-r--r-- | gcc/flow.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ? XWINT (XEXP (note, 0), 0) : 1); + int region = (note ? INTVAL (XEXP (note, 0), 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 ? XWINT (XEXP (note, 0), 0) : 1); + int region = (note ? INTVAL (XEXP (note, 0), 0) : 1); call_has_abnormal_edge = 0; /* If there is an EH region or rethrow, we have an edge. */ |