https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108653
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #2) > Created attachment 62366 [details] > Patch which does a simple DSE inside forwprop Note there is a bug in this version of the patch. I need to check for access for all statements rather than just when there is a store. I will gather some stats before submitting this but I suspect it will help many C++ code.