> Are you talking about the tree dead-store elimination pass or
> the RTL one?  Basically *addr = value1; cannot be removed
> if addr does not point to local memory or if the pointed-to
> memory escapes through a call-site that is dominated by this store.

I am talking about the RTL dead-store elimination. In my case addr is
based on the stack pointer and the store is to a local variable on the
stack.

Thanks,
Pranav

Reply via email to