summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-03-18 11:08:06 -0800
committerRichard Henderson <rth@gcc.gnu.org>2000-03-18 11:08:06 -0800
commit12a41c4810e5f8f435ca2df06ee9c0cc34967f23 (patch)
treed714758bc00d662954e53f8cf4790db2d2fe447f
parentcbbf65e012ad4532ef9e312f3dd8d6b89fbeb992 (diff)
downloadgcc-12a41c4810e5f8f435ca2df06ee9c0cc34967f23.tar.gz
* flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
From-SVN: r32621
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/flow.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f9aa222dacd..16c51d4a231 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
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,
care for HALF_PIC_P.
(expander_call_insn_operand): Remove.
diff --git a/gcc/flow.c b/gcc/flow.c
index 14189b9953b..f0e5b5393ab 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -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);