* approved by aph
authorFrank Ch. Eigler <fche@redhat.com>
Tue, 28 Oct 2003 18:38:07 +0000 (18:38 +0000)
committerFrank Ch. Eigler <fche@gcc.gnu.org>
Tue, 28 Oct 2003 18:38:07 +0000 (18:38 +0000)
2003-10-28  Frank Ch. Eigler  <fche@redhat.com>

* verify.c (verify_jvm_instructions): Don't warn about legal
eh binding regions generated for example by jdk 1.4.1.

From-SVN: r73012

gcc/java/ChangeLog
gcc/java/verify.c

index d3388a9526794e16807fa762085654a742012535..f6a06d292b4ab2b5939a9498f8482905fbe020a5 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-28  Frank Ch. Eigler  <fche@redhat.com>
+
+       * verify.c (verify_jvm_instructions): Don't warn about legal
+       eh binding regions generated for example by jdk 1.4.1.
+
 2003-10-24  David S. Miller  <davem@redhat.com>
 
        * jcf-parse.c (jcf_parse): Fix args to fatal_error().
index a5375bf135701c5589edf63c3009dde932c7138e..fd0945995b63c6378acec6d051a3470a0dec9985 100644 (file)
@@ -473,9 +473,6 @@ verify_jvm_instructions (JCF* jcf, const unsigned char *byte_ops, long length)
          return 0;
        }
 
-      if  (handler_pc >= start_pc && handler_pc < end_pc)
-       warning ("exception handler inside code that is being protected");
-
       add_handler (start_pc, end_pc,
                   lookup_label (handler_pc),
                   catch_type == 0 ? NULL_TREE