java/8866: Bug in switch statement code generation -- missing label

Tom Tromey tromey@redhat.com
Tue Jan 7 23:26:00 GMT 2003


The following reply was made to PR java/8866; it has been noted by GNATS.

From: Tom Tromey <tromey@redhat.com>
To: green@redhat.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: java/8866: Bug in switch statement code generation -- missing label
Date: 07 Jan 2003 16:25:08 -0700

 >>>>> "Anthony" == Anthony Green <green@redhat.com> writes:
 
 >> Synopsis:       Bug in switch statement code generation -- missing label
 
 Anthony> gcj is not emitting some important symbol when generating
 Anthony> switch statement code.  This is a fairly new regression. With
 Anthony> the test code below, you'll see:
 Anthony> /tmp/ccGnYxUm.o(.text+0x24): undefined reference to `.L8'
 
 Note that if I add this line
 
       System.out.println(attTypeString);
 
 near the end, then it works.
 
 It also works fine with -O0.
 
 Tom



More information about the Gcc-prs mailing list