From 6677e18970281483e9c0e98e2df3b400a627a0fd Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Wed, 8 Mar 2006 23:58:50 +0100 Subject: [PATCH] tree-ssa-operands.c (finalize_ssa_def_ops): Move the declaration of ptr into the ENABLE_CHECKING section. 2006-03-08 Andreas Tobler * tree-ssa-operands.c (finalize_ssa_def_ops): Move the declaration of ptr into the ENABLE_CHECKING section. From-SVN: r111849 --- gcc/ChangeLog | 5 +++++ gcc/tree-ssa-operands.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cacec9a1dca..c882a0d978c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-03-08 Andreas Tobler + + * tree-ssa-operands.c (finalize_ssa_def_ops): Move the declaration + of ptr into the ENABLE_CHECKING section. + 2006-03-08 Jeff Law * tree-vrp.c (infer_value_range): Only count pointer uses 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++; -- 2.30.2