PR16867: Fix a long standing DCE bug

Tom Tromey tromey@redhat.com
Thu Aug 12 23:20:00 GMT 2004


>>>>> "Diego" == Diego Novillo <dnovillo@redhat.com> writes:

Diego> Finally, I tripped over something odd in the Java front end.  There are
Diego> some internal functions generated by the front end that have no
Diego> TREE_SIDE_EFFECTS set and yet they are not marked with ECF_PURE nor
Diego> ECF_CONST.  This causes the operand scanner to consider these functions
Diego> as call-clobbering, which is wrong.

Unless someone is going to fix this immediately, could you file a PR
for it?

Diego> Bootstrapped and tested x86, x86-64, alpha, ia64 and ppc.  The new test
Diego> case in libjava could use a bit of checking by a java person.  I copied
Diego> it from other files in libjava.lang and it passes.  Is the test OK?

Yes, it is.  Thanks.

Tom



More information about the Java-patches mailing list