projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73737e8
)
(complete_array_type): Delete the code to call change_main_variant.
author
Richard Stallman
<rms@gnu.org>
Fri, 14 May 1993 04:36:34 +0000
(
04:36
+0000)
committer
Richard Stallman
<rms@gnu.org>
Fri, 14 May 1993 04:36:34 +0000
(
04:36
+0000)
From-SVN: r4446
gcc/c-decl.c
patch
|
blob
|
history
diff --git
a/gcc/c-decl.c
b/gcc/c-decl.c
index 5fb9dd60510bc26b81614ad2a8cc3bbbc5bb4f7e..09d20caf829c12ecf5817612e4d712a3101fde00 100644
(file)
--- a/
gcc/c-decl.c
+++ b/
gcc/c-decl.c
@@
-3654,13
+3654,15
@@
complete_array_type (type, initial_value, do_default)
if (maxindex)
{
- tree main;
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. */