This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Trunk miscompiles libjava
- From: Andrew Haley <aph at cambridge dot redhat dot com>
- To: "Boehm, Hans" <hans_boehm at hp dot com>
- Cc: "'gcc at gcc dot gnu dot org'" <java at gcc dot gnu dot org>
- Date: Wed, 22 May 2002 19:44:14 +0100 (BST)
- Subject: Trunk miscompiles libjava
- References: <40700B4C02ABD5119F000090278766443BF30B@hplex1.hpl.hp.com>
Boehm, Hans writes:
> On Linux/IA64, and probably other platforms, the trunk gcc
> miscompiles the isWhiteSpace() method in
> libjava/java/lang/Character. Apparently the bit-wise & in a return
> is the problem. This is a regression from 3.1. It fails with the
> current CVS and failed with the one from a few days ago.
>
> I didn't yet track this down much further, but it fails at -O0, and
> the initial rtl is already wrong. It works correctly if I compile
> to a class file and then interpret with gij. Any ideas?
Sorry for the delay. I duplicated the problem on x86 Linux and I'm
working on it.
Andrew.