diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2004-08-27 16:45:20 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2004-08-27 16:45:20 +0000 |
commit | ce552f75de9316942eb2762787ade0ac7684e299 (patch) | |
tree | 0747dfb5ae0b38c647d928875f6ef8f699b58a80 /gcc/ada | |
parent | 06c37c965a32bf125f32111fac25707bee54708a (diff) | |
download | gcc-ce552f75de9316942eb2762787ade0ac7684e299.zip gcc-ce552f75de9316942eb2762787ade0ac7684e299.tar.gz gcc-ce552f75de9316942eb2762787ade0ac7684e299.tar.bz2 |
tree.h (size_int_type): Remove.
* tree.h (size_int_type): Remove.
* fold-const.c: Do not #include gt-fold-const.h.
(size_htab_hash, size_htab_eq): Remove.
(size_int_kind): Use build_int_cst.
(new_const, size_htab): Remove.
(size_int_type): Remove.
(round_up): Use build_int_cst.
(round_down): Likewise. Remove spurious constant build.
* ada/utils2.c (build_allocator): Use ssize_int.
* cp/class.c (build_vtbl_initializer): Use ssize_int.
* cp/decl.c (complete_array_type): Likewise.
* cp/method.c (finish_thunk): Likewise.
* cp/search.c (get_dynamic_base_type): Likewise.
From-SVN: r86667
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/ada/utils2.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 27f6361..5d51877 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,5 +1,7 @@ 2004-08-27 Nathan Sidwell <nathan@codesourcery.com> + * utils2.c (build_allocator): Use ssize_int. + * utils.c (gnat_init_decl_processing): Ada has a signed sizetype. 2004-08-27 Andreas Schwab <schwab@suse.de> diff --git a/gcc/ada/utils2.c b/gcc/ada/utils2.c index 10da013..093e6f0 100644 --- a/gcc/ada/utils2.c +++ b/gcc/ada/utils2.c @@ -1799,7 +1799,7 @@ build_allocator (tree type, tree init, tree result_type, Entity_Id gnat_proc, /* If the size overflows, pass -1 so the allocator will raise storage error. */ if (TREE_CODE (size) == INTEGER_CST && TREE_OVERFLOW (size)) - size = build_int_cst (ssizetype, -1); + size = ssize_int (-1); storage = build_call_alloc_dealloc (NULL_TREE, size, TYPE_ALIGN (storage_type), @@ -1872,7 +1872,7 @@ build_allocator (tree type, tree init, tree result_type, Entity_Id gnat_proc, /* If the size overflows, pass -1 so the allocator will raise storage error. */ if (TREE_CODE (size) == INTEGER_CST && TREE_OVERFLOW (size)) - size = build_int_cst (ssizetype, -1); + size = ssize_int (-1); /* If this is a type whose alignment is larger than the biggest we support in normal alignment and this is in |