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: [PATCH] Isolate erroneous paths optimization -- preserve *0.


On 11/12/13 10:14, Marc Glisse wrote:

I assume the second LHS should be RHS. Don't you want to mark it somehow
so the next DCE doesn't remove it?
Sigh, yes DCE is removing the load.

That can be fixed by just marking the MEM_REF as volatile and updating the statement. It's a pretty trivial change.

Jeff


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