projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79d0fa9
)
(complete_array_type): Remove obsolete references to change_main_variant.
author
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 9 Jun 1997 22:40:58 +0000
(18:40 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 9 Jun 1997 22:40:58 +0000
(18:40 -0400)
From-SVN: r14197
gcc/c-decl.c
patch
|
blob
|
history
diff --git
a/gcc/c-decl.c
b/gcc/c-decl.c
index 463d72d154728a64b2744948f0a096431692c535..da9c9ad92339a6536845611ad8f57e68f059ca16 100644
(file)
--- 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. */