summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-operands.c
diff options
context:
space:
mode:
authorAndreas Tobler <a.tobler@schweiz.ch>2006-03-08 23:58:50 +0100
committerAndreas Tobler <andreast@gcc.gnu.org>2006-03-08 23:58:50 +0100
commit6677e18970281483e9c0e98e2df3b400a627a0fd (patch)
tree8bbbf40651f4ee1e1e18be528e90692cd0973888 /gcc/tree-ssa-operands.c
parent60c9ad4691a758d23173ffad0f95e4b1a6c8c4b8 (diff)
downloadgcc-6677e18970281483e9c0e98e2df3b400a627a0fd.tar.gz
tree-ssa-operands.c (finalize_ssa_def_ops): Move the declaration of ptr into the ENABLE_CHECKING section.
2006-03-08 Andreas Tobler <a.tobler@schweiz.ch> * tree-ssa-operands.c (finalize_ssa_def_ops): Move the declaration of ptr into the ENABLE_CHECKING section. From-SVN: r111849
Diffstat (limited to 'gcc/tree-ssa-operands.c')
-rw-r--r--gcc/tree-ssa-operands.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c
index bb1ea2f4af3..44be47458dd 100644
--- a/gcc/tree-ssa-operands.c
+++ b/gcc/tree-ssa-operands.c
@@ -501,7 +501,7 @@ finalize_ssa_def_ops (tree stmt)
{
unsigned new_i;
struct def_optype_d new_list;
- def_optype_p old_ops, ptr, last;
+ def_optype_p old_ops, last;
tree *old_base;
new_list.next = NULL;
@@ -552,6 +552,7 @@ finalize_ssa_def_ops (tree stmt)
#ifdef ENABLE_CHECKING
{
+ def_optype_p ptr;
unsigned x = 0;
for (ptr = DEF_OPS (stmt); ptr; ptr = ptr->next)
x++;