This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: REQ_EQUAL and mems hoisted out of loops
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 25 Mar 2003 13:13:48 -0500
- Subject: Re: REQ_EQUAL and mems hoisted out of loops
>>>>> Alan Modra writes:
Alan> Oops, reg 145 has changed in the meantime at insn 41. From what I can
Alan> tell, the REG_EQUAL notes in combination with the fact that the store
Alan> to "y" has been moved out of the loop by loop optimization, is the cause
Alan> of cse confusion.
Alan> So it seems a possible fix would be to delete all REG_EQUAL notes
Alan> that mention any mem hoisted out of a loop. Before I try to do that,
Alan> I thought I'd solicit comments on the approach. Reasonable?
Sounds similar to a previous unroller bug I tracked down where a
REG_EQUAL note no longer was valid:
http://gcc.gnu.org/ml/gcc-patches/2002-10/msg00269.html
David