aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1997-06-09 18:40:58 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1997-06-09 18:40:58 -0400
commit79479f9000b13ace4b7909b4f8319999d51e3599 (patch)
tree13f27b36e7c58dcb4682ec43832aeeb931830407 /gcc
parent79d0fa97b18799f2b500fea3b3427b14f14629fb (diff)
downloadgcc-79479f9000b13ace4b7909b4f8319999d51e3599.zip
gcc-79479f9000b13ace4b7909b4f8319999d51e3599.tar.gz
gcc-79479f9000b13ace4b7909b4f8319999d51e3599.tar.bz2
(complete_array_type): Remove obsolete references to change_main_variant.
From-SVN: r14197
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-decl.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 463d72d..da9c9ad 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -4105,12 +4105,6 @@ complete_array_type (type, initial_value, do_default)
TYPE_DOMAIN (type) = build_index_type (maxindex);
if (!TREE_TYPE (maxindex))
TREE_TYPE (maxindex) = TYPE_DOMAIN (type);
-#if 0 /* I took out this change
- together with the change in build_array_type. --rms */
- change_main_variant (type,
- build_array_type (TREE_TYPE (type),
- TYPE_DOMAIN (type)));
-#endif
}
/* Lay out the type now that we can get the real answer. */