diff options
author | Richard Guenther <rguenther@suse.de> | 2007-10-19 12:27:25 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2007-10-19 12:27:25 +0000 |
commit | ab58d043a76b3c8483c5fb3e301810c2ad61e34c (patch) | |
tree | 47c8bebc675499e113a691083c2ead2d30143e58 /gcc/tree.c | |
parent | 6525c3f01e2e5870d83f645ad94f1a44619841bf (diff) | |
download | gcc-ab58d043a76b3c8483c5fb3e301810c2ad61e34c.zip gcc-ab58d043a76b3c8483c5fb3e301810c2ad61e34c.tar.gz gcc-ab58d043a76b3c8483c5fb3e301810c2ad61e34c.tar.bz2 |
revert: re PR tree-optimization/32921 (Revision 126326 causes 12% slowdown)
2007-10-19 Richard Guenther <rguenther@suse.de>
Revert
2007-10-19 Richard Guenther <rguenther@suse.de>
PR middle-end/32921
* tree.c (build_array_type): Do not re-layout unbound array
types.
* gfortran.dg/pr32921.f: New testcase.
From-SVN: r129487
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5665,7 +5665,7 @@ build_array_type (tree elt_type, tree index_type) hashcode = iterative_hash_object (TYPE_HASH (index_type), hashcode); t = type_hash_canon (hashcode, t); - if (!COMPLETE_OR_UNBOUND_ARRAY_TYPE_P (t)) + if (!COMPLETE_TYPE_P (t)) layout_type (t); if (TYPE_CANONICAL (t) == t) |