This is the mail archive of the gcc@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: 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


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