Dead Store Elimination

Pranav Bhandarkar pranav.bhandarkar@gmail.com
Thu Oct 22 18:03:00 GMT 2009


> 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



More information about the Gcc mailing list