This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR16867: Fix a long standing DCE bug


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]