This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: PR16867: Fix a long standing DCE bug
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Ranjit Mathew <rmathew at gmail dot com>
- Cc: "java-patches at gcc dot gnu dot org" <java-patches at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 12 Aug 2004 10:22:31 -0400
- Subject: Re: PR16867: Fix a long standing DCE bug
- Organization: Red Hat Canada
- References: <1092291946.7543.37.camel@localhost.localdomain> <411B3D86.8090906@gmail.com>
On Thu, 2004-08-12 at 05:51, Ranjit Mathew wrote:
> FWIW, this test is already passing on the mainline
> for me without your patch.
>
Huh?
$ cd ~/gcc/gcc/libjava/testsuite/libjava.lang/
$ ~/perf/sbox/gcc/local.i686/inst.tobiano/bin/gcj -O2 --main=PR16867 PR16867.java -o before
$ ./before
null
$ ~/gcc/native/bin/gcj -O2 --main=PR16867 PR16867.java -o after
$ ./after
OK
The compiler in ~/perf/sbox is last night's compiler. The compiler in
~/gcc is the patched compiler.
Perhaps I need to alter the .out file?
Diego.