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

From-SVN: r96184
This commit is contained in:
Kazu Hirata 2005-03-09 11:31:51 +00:00 committed by Kazu Hirata
parent 1d846d0d40
commit 29b86a49c4
2 changed files with 3 additions and 2 deletions

View File

@ -22,6 +22,8 @@
* tree-data-ref.c (array_base_name_differ_p): Remove ta and
tb.
* tree-eh.c (tree_could_trap_p): Remove idx.
2005-03-08 Jeff Law <law@redhat.com>
* tree-cfg.c (cleanup_control_flow): If removal of a computed

View File

@ -1719,7 +1719,7 @@ tree_could_trap_p (tree expr)
bool honor_snans = false;
bool fp_operation = false;
bool honor_trapv = false;
tree t, base, idx;
tree t, base;
if (TREE_CODE_CLASS (code) == tcc_comparison
|| TREE_CODE_CLASS (code) == tcc_unary
@ -1759,7 +1759,6 @@ tree_could_trap_p (tree expr)
case ARRAY_REF:
base = TREE_OPERAND (expr, 0);
idx = TREE_OPERAND (expr, 1);
if (tree_could_trap_p (base))
return true;