* decl.c (complete_array_type): Don't gratuitously copy
maxindex. Its type is always set.
From-SVN: r85562
+2004-08-04 Nathan Sidwell <nathan@codesourcery.com>
+
+ * decl.c (complete_array_type): Don't gratuitously copy
+ maxindex. Its type is always set.
+
2004-08-04 Paul Brook <paul@codesourcery.com>
* Make-lang.in (cp/semantics.o, cp/optimize.o): Depend on TARGET_H.
else
maxindex = size_binop (PLUS_EXPR, maxindex, ssize_int (1));
}
- maxindex = copy_node (maxindex);
}
else
{
domain = build_index_type (maxindex);
TYPE_DOMAIN (type) = domain;
- if (! TREE_TYPE (maxindex))
- TREE_TYPE (maxindex) = domain;
if (initial_value)
itype = TREE_TYPE (initial_value);
else