https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105638
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2022-05-18
Ever confirmed|0 |1
Keywords| |missed-optimization
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
DSE doesn't remove redundant stores, in some cases it can prune an earlier
store but that's only handled in a limited set of cases. The issue with
removing redundant stores is that side-effects on the effective dynamic type
have to be preserved so removing earlier stores is much better.