diff options
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r-- | gcc/java/expr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c index a825e98..38fa5d4 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -1448,11 +1448,10 @@ pop_arguments (arg_types) tree tail = pop_arguments (TREE_CHAIN (arg_types)); tree type = TREE_VALUE (arg_types); tree arg = pop_value (type); -#ifdef PROMOTE_PROTOTYPES - if (TYPE_PRECISION (type) < TYPE_PRECISION (integer_type_node) + if (PROMOTE_PROTOTYPES + && TYPE_PRECISION (type) < TYPE_PRECISION (integer_type_node) && INTEGRAL_TYPE_P (type)) arg = convert (integer_type_node, arg); -#endif return tree_cons (NULL_TREE, arg, tail); } abort (); |