+2009-11-28 Jakub Jelinek <jakub@redhat.com>
+
+ * jvspec.c (lang_specific_driver): Remove unused
+ saw_verbose_flag variable.
+ * jcf-dump.c (main): Remove unused general_purpose_bits
+ variable.
+ * builtins.c (initialize_builtins): Remove unused float_ftype_float
+ variable.
+ * expr.c (java_stack_pop): Remove unused val variable.
+ (build_jni_stub): Remove unused res_type variable.
+ * verify-impl.c (check_field_constant): Remove unused len variable.
+
2009-10-20 Joel Dice <dicej@mailsnare.net>
PR java/28474
initialize_builtins (void)
{
tree double_ftype_double, double_ftype_double_double;
- tree float_ftype_float, float_ftype_float_float;
+ tree float_ftype_float_float;
tree boolean_ftype_boolean_boolean;
tree t;
int i;
void_list_node = end_params_node;
t = tree_cons (NULL_TREE, float_type_node, end_params_node);
- float_ftype_float = build_function_type (float_type_node, t);
t = tree_cons (NULL_TREE, float_type_node, t);
float_ftype_float_float = build_function_type (float_type_node, t);
{
while (count > 0)
{
- tree type, val;
+ tree type;
gcc_assert (stack_pointer != 0);
type = stack_type_map[stack_pointer - 2];
}
- val = pop_value (type);
+ pop_value (type);
count--;
}
}
tree jniarg0, jniarg1, jniarg2, jniarg3;
tree jni_func_type, tem;
tree env_var, res_var = NULL_TREE, block;
- tree method_args, res_type;
+ tree method_args;
tree meth_var;
tree bind;
TREE_SIDE_EFFECTS (body) = 1;
/* Finally, do the return. */
- res_type = void_type_node;
if (res_var != NULL_TREE)
{
tree drt;
{
long compressed_size, member_size;
int compression_method, filename_length, extra_length;
- int general_purpose_bits;
const char *filename;
int total_length;
if (flag_print_class_info)
}
JCF_FILL (jcf, 26);
JCF_SKIP (jcf, 2);
- general_purpose_bits = JCF_readu2_le (jcf);
+ (void) /* general_purpose_bits = */ JCF_readu2_le (jcf);
compression_method = JCF_readu2_le (jcf);
JCF_SKIP (jcf, 8);
compressed_size = JCF_readu4_le (jcf);
{
int i, j;
- /* If nonzero, the user gave us the `-v' flag. */
- int saw_verbose_flag = 0;
-
int saw_save_temps = 0;
/* This will be 0 if we encounter a situation where we should not
want_spec_file = 0;
else if (strcmp (argv[i], "-v") == 0)
{
- saw_verbose_flag = 1;
if (argc == 2)
{
/* If they only gave us `-v', don't try to link
{
vfy_string name, field_type;
const char *typec;
- int len;
type t;
type ct = handle_field_or_method (index,
if (class_type)
*class_type = ct;
typec = vfy_string_bytes (field_type);
- len = vfy_string_length (field_type);
if (typec[0] == '[' || typec[0] == 'L')
init_type_from_string (&t, field_type);
else