From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30624 invoked by alias); 25 Jan 2005 15:12:33 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 30529 invoked by uid 48); 25 Jan 2005 15:12:28 -0000 Date: Tue, 25 Jan 2005 15:12:00 -0000 Message-ID: <20050125151228.30528.qmail@sourceware.org> From: "mckinlay at redhat dot com" To: java-prs@gcc.gnu.org In-Reply-To: <20050118145002.19505.overholt@redhat.com> References: <20050118145002.19505.overholt@redhat.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug tree-optimization/19505] [4.0 Regression] Java bytecode ICE in except.c remove_unreachable_regions X-Bugzilla-Reason: CC X-SW-Source: 2005-q1/txt/msg00183.txt.bz2 List-Id: ------- Additional Comments From mckinlay at redhat dot com 2005-01-25 15:12 ------- Here's a test case for this bug, copied from PR18931. This will fail when compiling from bytecode produced by Sun's javac, but not from bytecode produced by gcj or ecj. public class PR19505 { public int getByte() { return 1; } public void ls(String p) throws Exception{ try{ p.toString(); int type=getByte(); if(type!=100){ throw new Exception(""); } if(type==100) return; throw new Exception(); } catch(Exception e){ throw new Exception(""); } } } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19505