diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2004-08-27 16:45:20 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2004-08-27 16:45:20 +0000 |
commit | 74bcee7e662635bef44868765547886d2c254151 (patch) | |
tree | 0747dfb5ae0b38c647d928875f6ef8f699b58a80 /gcc/cp/search.c | |
parent | 4e00e152ba92427f19cfbf8d8c40bfc72378f625 (diff) |
* 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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@86667 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/search.c')
-rw-r--r-- | gcc/cp/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/search.c b/gcc/cp/search.c index 4acd2d5a1ca..c0342ad75de 100644 --- a/gcc/cp/search.c +++ b/gcc/cp/search.c @@ -347,7 +347,7 @@ get_dynamic_cast_base_type (tree subtype, tree target) if (!boff) return offset; - offset = build_int_cst (ssizetype, boff); + offset = ssize_int (boff); return offset; } |