aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-09-10 10:54:24 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-09-10 10:54:24 +0000
commit88df93ce3baa8e070122533b31928d3876138488 (patch)
tree52bbfc8b0f568a45141cb55233730665d6be7f43 /gcc/tree.c
parent40ed057ba7ce8b8a00d88aae5ce14133faa83fd0 (diff)
downloadgcc-88df93ce3baa8e070122533b31928d3876138488.zip
gcc-88df93ce3baa8e070122533b31928d3876138488.tar.gz
gcc-88df93ce3baa8e070122533b31928d3876138488.tar.bz2
tree.h (build_index_2_type): Remove.
2010-09-10 Richard Guenther <rguenther@suse.de> * tree.h (build_index_2_type): Remove. * tree.c (build_index_2_type): Remove. ada/gcc-interface/ * utils.c (create_index_type): Use build_range_type. From-SVN: r164164
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 677e3bb..7ea69c8 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -7191,15 +7191,6 @@ subrange_type_for_debug_p (const_tree type, tree *lowval, tree *highval)
return true;
}
-/* Just like build_index_type, but takes lowval and highval instead
- of just highval (maxval). */
-
-tree
-build_index_2_type (tree lowval, tree highval)
-{
- return build_range_type (sizetype, lowval, highval);
-}
-
/* Construct, lay out and return the type of arrays of elements with ELT_TYPE
and number of elements specified by the range of values of INDEX_TYPE.
If such a type has already been constructed, reuse it. */