This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR16867: Fix a long standing DCE bug
- From: Tom Tromey <tromey at redhat dot com>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>,"java-patches at gcc dot gnu dot org" <java-patches at gcc dot gnu dot org>
- Date: 12 Aug 2004 08:49:01 -0600
- Subject: Re: PR16867: Fix a long standing DCE bug
- References: <1092291946.7543.37.camel@localhost.localdomain>
- Reply-to: tromey at redhat dot com
>>>>> "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