Commit 29b86a49 by Kazu Hirata Committed by Kazu Hirata

* tree-eh.c (tree_could_trap_p): Remove idx.

From-SVN: r96184
parent 1d846d0d
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
* tree-data-ref.c (array_base_name_differ_p): Remove ta and * tree-data-ref.c (array_base_name_differ_p): Remove ta and
tb. tb.
* tree-eh.c (tree_could_trap_p): Remove idx.
2005-03-08 Jeff Law <law@redhat.com> 2005-03-08 Jeff Law <law@redhat.com>
* tree-cfg.c (cleanup_control_flow): If removal of a computed * tree-cfg.c (cleanup_control_flow): If removal of a computed
......
...@@ -1719,7 +1719,7 @@ tree_could_trap_p (tree expr) ...@@ -1719,7 +1719,7 @@ tree_could_trap_p (tree expr)
bool honor_snans = false; bool honor_snans = false;
bool fp_operation = false; bool fp_operation = false;
bool honor_trapv = false; bool honor_trapv = false;
tree t, base, idx; tree t, base;
if (TREE_CODE_CLASS (code) == tcc_comparison if (TREE_CODE_CLASS (code) == tcc_comparison
|| TREE_CODE_CLASS (code) == tcc_unary || TREE_CODE_CLASS (code) == tcc_unary
...@@ -1759,7 +1759,6 @@ tree_could_trap_p (tree expr) ...@@ -1759,7 +1759,6 @@ tree_could_trap_p (tree expr)
case ARRAY_REF: case ARRAY_REF:
base = TREE_OPERAND (expr, 0); base = TREE_OPERAND (expr, 0);
idx = TREE_OPERAND (expr, 1);
if (tree_could_trap_p (base)) if (tree_could_trap_p (base))
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment