switch constant issue
Jeff Sturm
jsturm@one-point.com
Mon Jun 9 17:23:00 GMT 2003
On Mon, 9 Jun 2003, Andrew Haley wrote:
> > If this is a bug I will submit it.
>
> Looks like a bug to me. I guess no-assume-compiled is deferring the
> resolution of this constant to runtime, and this conflicts with the
> compiler's requirement that case labels be constant. I'm not sure
> about the best way to resolve this. Please submit the bug.
I think it was fixed in:
2003-01-24 Tom Tromey <tromey@redhat.com>
* class.c (build_static_field_ref): Only a String or numeric field
can fold to a constant.
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/class.c.diff?r1=1.150&r2=1.151&f=h
Jeff
More information about the Java
mailing list