X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Ftree.c;h=155bbf2628aef15ba71a0448488b39a1ff621315;hb=d4107d7c17c6f69e7ff93546e24d1490757cf49a;hp=76ce5b3dd5a0ae7c6706f9dd04cc5289cbd5cf81;hpb=8e8899e2c1deb2fdc549de9e22dfdefe34598593;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/tree.c b/gcc/tree.c index 76ce5b3dd5a..155bbf2628a 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -7412,12 +7412,7 @@ build_array_type_1 (tree elt_type, tree index_type, bool shared) 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 - the array was added to the hash table. */ - layout_type (t); } if (TYPE_CANONICAL (t) == t)