[Bug java/20768] [4.0 only] Bytecode - native code doesn't handle exception properly

2005-04-28 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-28 
16:35 ---
Subject: Bug 20768

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-04-28 16:35:25

Modified files:
gcc/java   : expr.c java-except.h verify.c verify-glue.c 
 except.c ChangeLog 

Log message:
2005-04-28  Andrew Haley  [EMAIL PROTECTED]

PR java/21115
* expr.c (force_evaluation_order): Convert outgoing args smaller
than integer.

PR java/20768
* java-except.h (struct eh_range.handler): Remove unused field.
(handle_nested_ranges): Remove function declaration.
(sanity_check_exception_range): Add function declaration.
* verify.c (verify_jvm_instructions): Remove call to
handle_nested_ranges.
(start_pc_cmp): Remove function.
(verify_jvm_instructions): Remove PC sorting of exception regions.
* verify-glue.c (verify_jvm_instructions_new): Call
sanity_check_exception_range.
* except.c (link_handler, eh_range_freelist, link_handler,
handle_nested_ranges): Remove.
(add_handler): Rewrite.
(sanity_check_exception_range): New function.
(print_ranges): New function.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/expr.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.218.4.2r2=1.218.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/java-except.h.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.18r2=1.18.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/verify.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.69r2=1.69.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/verify-glue.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.4.2.1r2=1.4.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/except.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.47r2=1.47.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.1556.2.16r2=1.1556.2.17



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20768


[Bug java/20768] [4.0 only] Bytecode - native code doesn't handle exception properly

2005-04-28 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-28 
16:53 ---
Fixed.

-- 
   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20768


[Bug java/20768] [4.0 only] Bytecode - native code doesn't handle exception properly

2005-04-26 Thread pinskia at gcc dot gnu dot org


-- 
   What|Removed |Added

 Status|REOPENED|ASSIGNED
   Keywords||wrong-code
  Known to fail||4.0.0
  Known to work||4.1.0
Summary|Bytecode - native code |[4.0 only] Bytecode -
   |doesn't handle exception|native code doesn't handle
   |properly|exception properly
   Target Milestone|--- |4.0.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20768