diff options
author | Anatoly Sokolov <aesok@post.ru> | 2010-06-23 23:18:10 +0400 |
---|---|---|
committer | Anatoly Sokolov <aesok@gcc.gnu.org> | 2010-06-23 23:18:10 +0400 |
commit | c7d08869b0bfa6ea130bdf5a0324ed9733f680ae (patch) | |
tree | 410de4e6c9701ba0936dba55178ae6cd84283d23 /gcc/java/decl.c | |
parent | bc051083b03021f18372f165243117688a023d77 (diff) | |
download | gcc-c7d08869b0bfa6ea130bdf5a0324ed9733f680ae.zip gcc-c7d08869b0bfa6ea130bdf5a0324ed9733f680ae.tar.gz gcc-c7d08869b0bfa6ea130bdf5a0324ed9733f680ae.tar.bz2 |
decl.c (java_init_decl_processing): Use double_int_to_tree instead of build_int_cst_wide.
/java
* decl.c (java_init_decl_processing): Use double_int_to_tree instead
of build_int_cst_wide.
* boehm.c (set_bit): Remove.
(mark_reference_fields): Use double_int type for 'mask' argument.
Use double_int_setbit instead of set_bit.
(get_boehm_type_descriptor): Use double_int_setbit instead of
set_bit. Use double_int_to_tree instead of build_int_cst_wide.
From-SVN: r161288
Diffstat (limited to 'gcc/java/decl.c')
-rw-r--r-- | gcc/java/decl.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c index 86ce719..d3e6710 100644 --- a/gcc/java/decl.c +++ b/gcc/java/decl.c @@ -619,15 +619,9 @@ java_init_decl_processing (void) /* A few values used for range checking in the lexer. */ decimal_int_max = build_int_cstu (unsigned_int_type_node, 0x80000000); -#if HOST_BITS_PER_WIDE_INT == 64 - decimal_long_max = build_int_cstu (unsigned_long_type_node, - 0x8000000000000000LL); -#elif HOST_BITS_PER_WIDE_INT == 32 - decimal_long_max = build_int_cst_wide (unsigned_long_type_node, - 0, 0x80000000); -#else - #error "unsupported size" -#endif + decimal_long_max + = double_int_to_tree (unsigned_long_type_node, + double_int_setbit (double_int_zero, 64)); size_zero_node = size_int (0); size_one_node = size_int (1); |