aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-parse.c
diff options
context:
space:
mode:
authorAlexandre Petit-Bianco <apbianco@cygnus.com>2000-03-28 08:33:45 +0000
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>2000-03-28 00:33:45 -0800
commit0981a85961c671c04e797252ad30949a5037b1ce (patch)
treeed14e0e93106add53c8cfd8ea6b287c2e4009446 /gcc/java/jcf-parse.c
parente3c2afabd3df995899ecf565616a410aa85e95a3 (diff)
downloadgcc-0981a85961c671c04e797252ad30949a5037b1ce.zip
gcc-0981a85961c671c04e797252ad30949a5037b1ce.tar.gz
gcc-0981a85961c671c04e797252ad30949a5037b1ce.tar.bz2
[multiple changes]
2000-03-28 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse-scan.y (pop_class_context): Reset `inner_qualifier_length' to 0 when it reaches -1. 2000-03-27 Alexandre Petit-Bianco <apbianco@cygnus.com> * jcf-parse.c (get_constant): Properly cast `num' during the invocation of `add_double call'. * jcf-write.c (push_long_const): Properly cast `lo' before comparing it to short bounds. * parse-scan.y (interface_declaration:): Rule re-arrange so that `interface_body:' is reduced after the current interface is pushed. 2000-02-28 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse-scan.y (inner_qualifier, inner_qualifier_length): New static globals. (push_class_context, pop_class_context): New function. (class_body:): Call pop_class_context. (interface_body:): Likewise. (INNER_QUALIFIER): New macro. (report_class_declaration): Changed output format and use INNER_QUALIFIER. Call push_class_context. From-SVN: r32779
Diffstat (limited to 'gcc/java/jcf-parse.c')
-rw-r--r--gcc/java/jcf-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index 09991eb..4c3dff7 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -272,7 +272,7 @@ get_constant (jcf, index)
HOST_WIDE_INT lo, hi;
lshift_double (num, 0, 32, 64, &lo, &hi, 0);
num = JPOOL_INT (jcf, index+1);
- add_double (lo, hi, num, 0, &lo, &hi);
+ add_double (lo, hi, (uint32)num, 0, &lo, &hi);
value = build_int_2 (lo, hi);
TREE_TYPE (value) = long_type_node;
force_fit_type (value, 0);