[Bug java/19070] New: internal compiler error: in generate_bytecode_conditional, at java/jcf-write.c:1271

dan at bolser dot co dot uk gcc-bugzilla@gcc.gnu.org
Sat Dec 18 18:56:00 GMT 2004


internal compiler error: in generate_bytecode_conditional, at java/jcf-write.c:1271

Some specific syntax (see below) in the java prog I am trying to compile causes
the above error...

Here are my details...

/usr/share/gcc-4.0a/bin/gcc -v
Reading specs from /usr/share/gcc-4.0a/lib/gcc/i686-pc-linux-gnu/4.0.0/specs
Configured with: ../gcc/configure --prefix=/usr/share/gcc-4.0a --enable-java-awt=gtk
Thread model: posix
gcc version 4.0.0 20041130 (experimental)


uname -a
Linux bleah.com 2.6.9-1.6_FC2 #1 Thu Nov 18 22:03:19 EST 2004 i686 athlon i386
GNU/Linux

Compiled using... gcj -C


The bug is triggered by the following code example...

public class testish {
    public void test (){
	Number ping = (Number) new Integer(10);
	double pong = ping.doubleValue();
	if (pong != null){                       <-- Line 5
	    System.out.println("well...");
	}
    }
}


/usr/share/gcc-4.0a/bin/gcj -C testish.java
testish.java: In class 'testish':
testish.java: In method 'testish.test()':
testish.java:5: internal compiler error: in generate_bytecode_conditional, at
java/jcf-write.c:1271
Please submit a full bug report,

I haven't tried to compile with JDK.

-- 
           Summary: internal compiler error: in
                    generate_bytecode_conditional, at java/jcf-write.c:1271
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dan at bolser dot co dot uk
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


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



More information about the Gcc-bugs mailing list