summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-operands.c
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-08 22:58:50 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-08 22:58:50 +0000
commite817549bd68500148e63febb7638d642cf32f5ec (patch)
tree8bbbf40651f4ee1e1e18be528e90692cd0973888 /gcc/tree-ssa-operands.c
parent581f18857bd28bf20e979e0b24f0c9cfade61003 (diff)
downloadgcc-e817549bd68500148e63febb7638d642cf32f5ec.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111849 138bc75d-0d04-0410-961f-82ee72b054a4
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++;