PR16867: Fix a long standing DCE bug

Diego Novillo dnovillo@redhat.com
Thu Aug 12 22:11:00 GMT 2004


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.



More information about the Java-patches mailing list