diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-03-09 11:31:51 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-03-09 11:31:51 +0000 |
commit | 29b86a49c427bf3037ce8e7091bddaa15c3af6ec (patch) | |
tree | 2629634efd7846b35644ee9cdc09d051d265fc70 | |
parent | 1d846d0d40b98acbc2c37752430700ca5f9e671a (diff) | |
download | gcc-29b86a49c427bf3037ce8e7091bddaa15c3af6ec.zip gcc-29b86a49c427bf3037ce8e7091bddaa15c3af6ec.tar.gz gcc-29b86a49c427bf3037ce8e7091bddaa15c3af6ec.tar.bz2 |
* tree-eh.c (tree_could_trap_p): Remove idx.
From-SVN: r96184
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/tree-eh.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 340848a..20fb6b2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c index f19c851..698c654 100644 --- a/gcc/tree-eh.c +++ b/gcc/tree-eh.c @@ -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; |