* gcc-interface/utils.c (update_pointer_to): Initialize last.

From-SVN: r160630
This commit is contained in:
Alexandre Oliva 2010-06-11 19:41:28 +00:00 committed by Alexandre Oliva
parent 1826e883bc
commit d4d1606b28
2 changed files with 5 additions and 1 deletions

View 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.

View 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));