aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@gcc.gnu.org>2000-03-10 11:21:06 -0800
committerRichard Henderson <rth@gcc.gnu.org>2000-03-10 11:21:06 -0800
commit8ad52449ba05e1481e381daebca6cf152ea68986 (patch)
tree6f3290e83e44b7cc1ab4d1712c55210cf404bc27 /gcc/flow.c
parentbee249aac128cdabd148e7dc007c7fba9c34a7fa (diff)
downloadgcc-8ad52449ba05e1481e381daebca6cf152ea68986.zip
gcc-8ad52449ba05e1481e381daebca6cf152ea68986.tar.gz
gcc-8ad52449ba05e1481e381daebca6cf152ea68986.tar.bz2
Fix typo last change.
From-SVN: r32472
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 0511822..26c1a6f 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. */