diff options
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r-- | gcc/java/class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c index cb67896..5eb245e 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -1592,7 +1592,7 @@ get_dispatch_vector (tree type) { tree method_index = get_method_index (method); if (method_index != NULL_TREE - && host_integerp (method_index, 0)) + && tree_fits_shwi_p (method_index)) TREE_VEC_ELT (vtable, tree_low_cst (method_index, 0)) = method; } } |