From 79479f9000b13ace4b7909b4f8319999d51e3599 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 9 Jun 1997 18:40:58 -0400 Subject: [PATCH] (complete_array_type): Remove obsolete references to change_main_variant. From-SVN: r14197 --- gcc/c-decl.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 463d72d1547..da9c9ad9233 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. */ -- 2.30.2