[Bug tree-optimization/19505] [4.0 Regression] Java bytecode ICE in except.c remove_unreachable_regions

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 24 16:34:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-24 16:34 -------
Just a little more information.
changing "s = redirect_edge_succ_nodup (e, dest);" to a "return false;" in remove_forwarder_block 
makes this pass so this is a tree optimization problem.  Basically what is happening is that we are 
forwarding two eh regions to one bb which is just wrong.  A better check in remove_forwarder_block is 
needed to better test for this case.  Note this only happens with the java front-end because the java 
front-end produces a goto from two catches without any code before it (which is not wrong).


Making this block 17574 which is the meta-bug for "java" bugs which should be fixed before 4.0 (or are 
just regressions in 4.0).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
OtherBugsDependingO|                            |17574
              nThis|                            |
          Component|java                        |tree-optimization
            Summary|Java bytecode ICE in        |[4.0 Regression] Java
                   |except.c                    |bytecode ICE in except.c
                   |remove_unreachable_regions  |remove_unreachable_regions


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



More information about the Java-prs mailing list