public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/11075] New: ICE compiling cross-package inherited constants
@ 2003-06-03  8:42 robin.garner@crsrehab.gov.au
  2003-06-03  8:48 ` [Bug java/11075] " robin.garner@crsrehab.gov.au
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: robin.garner@crsrehab.gov.au @ 2003-06-03  8:42 UTC (permalink / raw)
  To: gcc-bugs

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 <URL:http://gcc.gnu.org/bugs.html> 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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-05-23 23:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-03  8:42 [Bug java/11075] New: ICE compiling cross-package inherited constants robin.garner@crsrehab.gov.au
2003-06-03  8:48 ` [Bug java/11075] " robin.garner@crsrehab.gov.au
2003-06-03 12:21 ` pinskia@physics.uc.edu
2003-07-05  3:18 ` pinskia at physics dot uc dot edu
2003-08-23  1:53 ` dhazeghi at yahoo dot com
2004-01-08  8:34 ` pinskia at gcc dot gnu dot org
2004-05-22  3:31 ` [Bug java/11075] Compiling cross-package inherited constants are rejected pinskia at gcc dot gnu dot org
2004-05-24 13:06 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).