move declaration to top of block

From-SVN: r194287
This commit is contained in:
Jason Merrill 2012-12-07 00:13:01 -05:00
parent 8a0a7d0136
commit 85855e7fcc
1 changed files with 1 additions and 1 deletions

View File

@ -7409,10 +7409,10 @@ build_array_type_1 (tree elt_type, tree index_type, bool shared)
if (shared)
{
tree old_t = t;
hashval_t hashcode = iterative_hash_object (TYPE_HASH (elt_type), 0);
if (index_type)
hashcode = iterative_hash_object (TYPE_HASH (index_type), hashcode);
tree old_t = t;
t = type_hash_canon (hashcode, t);
if (t != old_t)
/* Lay it out again in case the element type has been completed since