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