A buglet

Bryce McKinlay bryce@waitaki.otago.ac.nz
Thu Jun 27 17:12:00 GMT 2002


Andrew Haley wrote:

>I get a test failure at -O1.  It looks like the null pointer access is
>being removed by the optimizer.  Of course, -fcheck-references fixes
>things.
>
>Can someone please try this so I know it's not a problem with my
>setup?  This is from the trunk.
>

Yeah, Array_3 has always failed on PowerPC because of this. IIRC, if the 
test case is changed so that "nn" is actually used after each "try" 
block, it works.

I suspect that its just good luck that it doesn't fail on x86.

regards

Bryce.




More information about the Java mailing list