This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: switch constant issue


This is fixed in 3.4

Thanks
On to bigger and weirder problems.

Jeff Sturm wrote:
On 9 Jun 2003, Tom Tromey wrote:

Jeff, I think my patch won't affect Steve's problem.  That patch was
for a different case, where we would inline a non-{int,string}
constant incorrectly (causing link errors, as I recall).  Steve is
seeing the opposite: we aren't inlining an int constant that we
should.


Well, see the prior patch then:

* class.c (build_static_field_ref): Check FIELD_FINAL.

http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/class.c.diff?r1=1.140&r2=1.141&f=h

It's been awhile, but I think that was just the failure this patch
intended to fix.

No way to know for sure unless Steve tries his code on mainline.  None of
these patches are in 3.3.

Jeff




--
Steve Pribyl
Steve AT NetFuel dot com
Computer Infrastructure Practitioner


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]