summaryrefslogtreecommitdiffstats
path: root/gcc/ada/gcc-interface/utils.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-10 10:54:24 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-10 10:54:24 +0000
commit65ae98b48ba6e64af5ec11657a203a5ff3bffe89 (patch)
tree52bbfc8b0f568a45141cb55233730665d6be7f43 /gcc/ada/gcc-interface/utils.c
parent2787ab7648835f75b25d8b35408a6dee3f85b64c (diff)
downloadppe42-gcc-65ae98b48ba6e64af5ec11657a203a5ff3bffe89.tar.gz
ppe42-gcc-65ae98b48ba6e64af5ec11657a203a5ff3bffe89.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164164 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
-rw-r--r--gcc/ada/gcc-interface/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c
index c3a39d44357..cadc4d7c0da 100644
--- a/gcc/ada/gcc-interface/utils.c
+++ b/gcc/ada/gcc-interface/utils.c
@@ -1156,7 +1156,7 @@ tree
create_index_type (tree min, tree max, tree index, Node_Id gnat_node)
{
/* First build a type for the desired range. */
- tree type = build_index_2_type (min, max);
+ tree type = build_range_type (sizetype, min, max);
/* If this type has the TYPE_INDEX_TYPE we want, return it. */
if (TYPE_INDEX_TYPE (type) == index)
OpenPOWER on IntegriCloud