From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1582 invoked by alias); 3 Jun 2003 08:42:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 1555 invoked by uid 48); 3 Jun 2003 08:42:33 -0000 Date: Tue, 03 Jun 2003 08:42:00 -0000 From: "robin.garner@crsrehab.gov.au" To: gcc-bugs@gcc.gnu.org Message-ID: <20030603084231.11075.robin.garner@crsrehab.gov.au> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug java/11075] New: ICE compiling cross-package inherited constants X-Bugzilla-Reason: CC X-SW-Source: 2003-06/txt/msg00433.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11075 Summary: ICE compiling cross-package inherited constants Product: gcc Version: 3.3 Status: UNCONFIRMED Severity: major Priority: P4 Component: java AssignedTo: unassigned@gcc.gnu.org ReportedBy: robin.garner@crsrehab.gov.au CC: gcc-bugs@gcc.gnu.org gcj crashes with an ICE when compiling the following code (3 files): P/a.java: package P; class a { static final int A = 2; } P/b.java: package P; public interface b { static int B = a.A; } Q/c.java: package Q; import P.b; class c { static int x; { x = b.B; } // Virtually any reference to b.B works here } gcj -c P/a.java gcj -c P/b.java gcj -c Q/c.java c.java:4: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Configuration details follow: $ gcc -v Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs Configured with: ../gcc-3.3/configure Thread model: posix gcc version 3.3 $ uname -a Linux r105l05.anu.edu.au 2.4.18 #2 SMP Thu Jul 11 13:10:05 EST 2002 i686 unknown No intermediate files generated. Also reproduced under gcc-3.2.2, and on an RH 7.1 system (i686) with 3.2.2. ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.