aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/typeck2.c
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>1995-05-27 00:15:16 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>1995-05-27 00:15:16 +0000
commitb248d3f79bcf7562a26502e3377b3cfd4fa2fa84 (patch)
treea6c853d77ddd60a2d65623f5f185787018135bf3 /gcc/cp/typeck2.c
parent14b96ab346972e72a65a33cc17fb62133cbbdc12 (diff)
73rd Cygnus<->FSF merge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9826 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/typeck2.c')
-rw-r--r--gcc/cp/typeck2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c
index e69ada49009..593930ef9f5 100644
--- a/gcc/cp/typeck2.c
+++ b/gcc/cp/typeck2.c
@@ -537,8 +537,11 @@ store_init_value (decl, init)
if (TREE_CODE (type) == ERROR_MARK)
return NULL_TREE;
+#if 0
+ /* This breaks arrays, and should not have any effect for other decls. */
/* Take care of C++ business up here. */
type = TYPE_MAIN_VARIANT (type);
+#endif
if (IS_AGGR_TYPE (type))
{