(complete_array_type): Remove obsolete references to change_main_variant.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 9 Jun 1997 22:40:58 +0000 (18:40 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 9 Jun 1997 22:40:58 +0000 (18:40 -0400)
From-SVN: r14197

gcc/c-decl.c

index 463d72d154728a64b2744948f0a096431692c535..da9c9ad92339a6536845611ad8f57e68f059ca16 100644 (file)
@@ -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.  */