summaryrefslogtreecommitdiff
path: root/gcc/tree-eh.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-09 11:31:51 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-09 11:31:51 +0000
commitb0e959b9a82238d6d49f2f5bb05a2c0bc0349529 (patch)
tree2629634efd7846b35644ee9cdc09d051d265fc70 /gcc/tree-eh.c
parent9c069bffa4f9d5e223f8d1f8547ee229dc139a82 (diff)
downloadgcc-b0e959b9a82238d6d49f2f5bb05a2c0bc0349529.tar.gz
* tree-eh.c (tree_could_trap_p): Remove idx.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96184 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-eh.c')
-rw-r--r--gcc/tree-eh.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c
index f19c851fb74..698c6548515 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;