Fix typo last change.
authorRichard Henderson <rth@gcc.gnu.org>
Fri, 10 Mar 2000 19:21:06 +0000 (11:21 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 10 Mar 2000 19:21:06 +0000 (11:21 -0800)
From-SVN: r32472

gcc/except.c
gcc/flow.c

index d2c3d251719a19d96c6b4baaba1dfbcb3163d62d..44507f82658d84d262c7b5f9bb51781eb4f44cec 100644 (file)
@@ -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
index 05118223bd721c1b77c646ef7b7fb3cd4ecd8b65..26c1a6faa0dab57ca95e4f2529b21f4f342eadf1 100644 (file)
@@ -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.  */