gcj/381: gcj miscompiles some loops with -O2
Jeff Sturm
jeff.sturm@appnet.com
Mon Dec 11 15:30:00 GMT 2000
The following reply was made to PR gcj/381; it has been noted by GNATS.
From: Jeff Sturm <jeff.sturm@appnet.com>
To: Bryce McKinlay <bryce@albatross.co.nz>
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: gcj/381: gcj miscompiles some loops with -O2
Date: Mon, 11 Dec 2000 18:26:10 -0500
Bryce McKinlay wrote:
> >> Synopsis: gcj miscompiles some loops with -O2
> Yeah. This has always been a problem, even pre-2.95. Its the reason why
> we can't turn on -O2 for compiling libgcj. It happens when you use
> "continue" in a loop.
I didn't find the existing PR. Thanks.
It seems to me this is pretty important to get good performance out of libgcj.
In the meantime I'll stick to compiling from bytecode, which seems to work fine.
--
Jeff Sturm
jeff.sturm@commerceone.com
More information about the Java-prs
mailing list