]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc-interface/utils.c (update_pointer_to): Initialize last.
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Jun 2010 19:41:28 +0000 (19:41 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Jun 2010 19:41:28 +0000 (19:41 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160630 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c

index 553702cba38e442a4bc1e63af25d6745db03d720..828f031bb14ba1e10505229067c4d8e2d53a8c84 100644 (file)
@@ -1,3 +1,7 @@
+2010-06-11  Alexandre Oliva  <aoliva@redhat.com>
+
+       * gcc-interface/utils.c (update_pointer_to): Initialize last.
+
 2010-06-09  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gcc-interface/ada-tree.h: Fix formatting nits.
index ebb70259c453c84fc504185f9fa9552732a9db2f..0416db3b875f7f43c93e7bcd653f71712ee70782 100644 (file)
@@ -3461,7 +3461,7 @@ update_pointer_to (tree old_type, tree new_type)
     {
       tree new_ptr = TYPE_MAIN_VARIANT (TYPE_POINTER_TO (new_type));
       tree new_obj_rec = TYPE_OBJECT_RECORD_TYPE (new_type);
-      tree array_field, bounds_field, new_ref, last;
+      tree array_field, bounds_field, new_ref, last = NULL_TREE;
 
       gcc_assert (TYPE_IS_FAT_POINTER_P (ptr));