This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: problem building a GCJ-friendly GNU Crypto
Geoff Keating <geoffk@geoffk.org> writes:
| Roger Sayle <roger@eyesopen.com> writes:
|
| > I'm currently working on a patch to add an -fevaluation-order command
| > line option to GCC, that sets a flag_evaluation_order variable that
| > can be checked during constant folding to preserve left-to-right
| > evaluation order of binary expressions. This can then be enabled by
| > default by the java front-end, which should help make libbackend.a
| > more java friendly.
|
| Although I agree that it'd be better if the constant folder didn't do
| things that break Java, I don't see why we need an extra command-line
| flag for this. GCC already has way too many command-line flags, and
| this one seems to add particularly little value.
seconded. The backend should just know that it is evaluating bits
from Java. No?
-- Gaby