commit c37ab236406b9acf4423e80554055bf72d7be5fa
Author: Jason Merrill <jason@redhat.com>
Date: Thu Jun 20 17:42:16 2013 -0400
* decl.c (compute_array_index_type): Use size_one_node.
@@ -8241,7 +8241,7 @@ compute_array_index_type (tree name, tree size, tsubst_flags_t complain)
constant. Just build the index type and mark that it requires
structural equality checks. */
itype = build_index_type (build_min (MINUS_EXPR, sizetype,
- size, integer_one_node));
+ size, size_one_node));
TYPE_DEPENDENT_P (itype) = 1;
TYPE_DEPENDENT_P_VALID (itype) = 1;
SET_TYPE_STRUCTURAL_EQUALITY (itype);