aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@linaro.org>2011-04-20 09:25:42 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2011-04-20 09:25:42 +0000
commit267d3070f755138d967f6fd0c05b3c9ccb361aaf (patch)
treee069d62850ed1e1da9555cd452f0ceaefe28bbce /gcc/tree.c
parent0b2ddd9ce3a1e6db7b9b16adf75fed550f05d0ce (diff)
downloadgcc-267d3070f755138d967f6fd0c05b3c9ccb361aaf.zip
gcc-267d3070f755138d967f6fd0c05b3c9ccb361aaf.tar.gz
gcc-267d3070f755138d967f6fd0c05b3c9ccb361aaf.tar.bz2
Revert last patch.
From-SVN: r172763
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. */