* decl.c (java_init_decl_processing): Use `LL' on 64-bit constant.

From-SVN: r59594
This commit is contained in:
Kaveh R. Ghazi 2002-11-28 02:12:01 +00:00 committed by Kaveh Ghazi
parent fe3f9515cb
commit d1aed877ee
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* decl.c (java_init_decl_processing): Use `LL' on 64-bit constant.
2002-11-25 Diego Novillo <dnovillo@redhat.com>
* jcf-reader.c: Don't expand JCF_readu4 inside the

View File

@ -464,7 +464,7 @@ java_init_decl_processing ()
decimal_int_max = build_int_2 (0x80000000, 0);
TREE_TYPE (decimal_int_max) = unsigned_int_type_node;
#if HOST_BITS_PER_WIDE_INT == 64
decimal_long_max = build_int_2 (0x8000000000000000, 0);
decimal_long_max = build_int_2 (0x8000000000000000LL, 0);
#else
#if HOST_BITS_PER_WIDE_INT == 32
decimal_long_max = build_int_2 (0, 0x80000000);