* flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
authorRichard Henderson <rth@cygnus.com>
Sat, 18 Mar 2000 19:08:06 +0000 (11:08 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Sat, 18 Mar 2000 19:08:06 +0000 (11:08 -0800)
From-SVN: r32621

gcc/ChangeLog
gcc/flow.c

index f9aa222dacdc6c22dfe1f08157223d6b4c66b261..16c51d4a231ea4f25aa93e48e46de35d9d05f1f7 100644 (file)
@@ -1,3 +1,7 @@
+2000-03-18  Richard Henderson  <rth@cygnus.com>
+
+       * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
+
 2000-03-18  Richard Henderson  <rth@cygnus.com>
 
        * i386.c (call_insn_operand): Always allow SYMBOL_REF,
index 14189b9953b760f365bdabd7a65e8b4080a27b3a..f0e5b5393ab31441cc90b2736756d04274482c95 100644 (file)
@@ -1031,7 +1031,7 @@ make_edges (label_value_list)
              /* We do know that a REG_EH_REGION note with a value less
                 than 0 is guaranteed not to perform a non-local goto.  */
              rtx note = find_reg_note (insn, REG_EH_REGION, NULL_RTX);
-             if (!note || XINT (XEXP (note, 0), 0) >=  0)
+             if (!note || INTVAL (XEXP (note, 0)) >=  0)
                for (x = nonlocal_goto_handler_labels; x ; x = XEXP (x, 1))
                  make_label_edge (edge_cache, bb, XEXP (x, 0),
                                   EDGE_ABNORMAL | EDGE_ABNORMAL_CALL);