https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104276
--- Comment #8 from Darrell Wright ---
What about something like a __builtin_overwrite( ptr, size_t ) that tells the
compiler that the range specified will be written. It forms a contract to do
so with the compiler and would allow the memset to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104276
--- Comment #7 from Richard Biener ---
DSE could in theory prune live-bytes from a store inside a loop by looking at
SCEV / niter info. That'll cost though, and it's not clear where it would
nicely fit.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104276
Andrew Pinski changed:
What|Removed |Added
Status|RESOLVED|NEW
Resolution|DUPLICATE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104276
Andrew Pinski changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104276
Andrew Pinski changed:
What|Removed |Added
Summary|Fail to eliminate deadstore |memset is not elimited when