Commit 79479f90 by Richard Kenner

(complete_array_type): Remove obsolete references to change_main_variant.

From-SVN: r14197
parent 79d0fa97
...@@ -4105,12 +4105,6 @@ complete_array_type (type, initial_value, do_default) ...@@ -4105,12 +4105,6 @@ complete_array_type (type, initial_value, do_default)
TYPE_DOMAIN (type) = build_index_type (maxindex); TYPE_DOMAIN (type) = build_index_type (maxindex);
if (!TREE_TYPE (maxindex)) if (!TREE_TYPE (maxindex))
TREE_TYPE (maxindex) = TYPE_DOMAIN (type); 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. */ /* Lay out the type now that we can get the real answer. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment