6989116: (verifier) compiler warning messages
authoralanb
Fri, 08 Oct 2010 10:36:17 +0100
changeset 6852 c4afb73bfc6b
parent 6850 56966b0a6a0d
child 6853 9f5bfecff075
6989116: (verifier) compiler warning messages Reviewed-by: kamg, ohair
jdk/src/share/native/common/check_code.c
--- a/jdk/src/share/native/common/check_code.c	Thu Oct 07 14:36:17 2010 +0100
+++ b/jdk/src/share/native/common/check_code.c	Fri Oct 08 10:36:17 2010 +0100
@@ -2940,7 +2940,7 @@
     if (verify_verbose) {
         jio_fprintf(stdout, " [");
         for (i = handler_info_length; --i >= 0; handler_info++)
-            if (handler_info->start <= inumber && handler_info->end > inumber)
+            if (handler_info->start <= (int)inumber && handler_info->end > (int)inumber)
                 jio_fprintf(stdout, "%d* ", handler_info->handler);
         for (i = 0; i < successors_count; i++)
             jio_fprintf(stdout, "%d ", successors[i]);
@@ -3011,7 +3011,8 @@
     instruction_data_type *this_idata = &idata[to_inumber];
     register_info_type old_reg_info;
     stack_info_type old_stack_info;
-    flag_type old_and_flags, old_or_flags;
+    flag_type old_and_flags = 0;
+    flag_type old_or_flags = 0;
 #endif
 
 #ifdef DEBUG