OSDN Git Service

2006-03-08 Andreas Tobler <a.tobler@schweiz.ch>
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Mar 2006 22:58:50 +0000 (22:58 +0000)
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Mar 2006 22:58:50 +0000 (22:58 +0000)
* 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

gcc/ChangeLog
gcc/tree-ssa-operands.c

index cacec9a..c882a0d 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2006-03-08  Jeff Law  <law@redhat.com>
 
        * tree-vrp.c (infer_value_range): Only count pointer uses
 2006-03-08  Jeff Law  <law@redhat.com>
 
        * tree-vrp.c (infer_value_range): Only count pointer uses
index bb1ea2f..44be474 100644 (file)
@@ -501,7 +501,7 @@ finalize_ssa_def_ops (tree stmt)
 {
   unsigned new_i;
   struct def_optype_d new_list;
 {
   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;
   tree *old_base;
 
   new_list.next = NULL;
@@ -552,6 +552,7 @@ finalize_ssa_def_ops (tree stmt)
 
 #ifdef ENABLE_CHECKING
   {
 
 #ifdef ENABLE_CHECKING
   {
+    def_optype_p ptr;
     unsigned x = 0;
     for (ptr = DEF_OPS (stmt); ptr; ptr = ptr->next)
       x++;
     unsigned x = 0;
     for (ptr = DEF_OPS (stmt); ptr; ptr = ptr->next)
       x++;