aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index b16c0aa..d0c18b1 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -7340,15 +7340,6 @@ build_nonshared_array_type (tree elt_type, tree index_type)
return build_array_type_1 (elt_type, index_type, false);
}
-/* Return a representation of ELT_TYPE[NELTS], using indices of type
- sizetype. */
-
-tree
-build_array_type_nelts (tree elt_type, unsigned HOST_WIDE_INT nelts)
-{
- return build_array_type (elt_type, build_index_type (size_int (nelts - 1)));
-}
-
/* Recursively examines the array elements of TYPE, until a non-array
element type is found. */