http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html shows -ftree-dse as an optimization enabled by -O / -O1, but doesn't document it below.
via http://tinyurl.com/3cdlnu Per tree-ssa-dce.c: A dead store is a store into a memory location which will later be overwritten by another store without any intervening loads. In this case the earlier store can be deleted. -- Summary: missing documentation for -ftree-dse Product: gcc Version: unknown Status: UNCONFIRMED Severity: minor Priority: P3 Component: web AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rmoore-gcc at plaxo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32965