This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] PR 32965, PR 13756: Missing documentation for -ftree-dse
- From: Rask Ingemann Lambertsen <rask at sygehus dot dk>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 4 Sep 2007 11:42:40 +0200
- Subject: [PATCH] PR 32965, PR 13756: Missing documentation for -ftree-dse
Tested with make dvi (no new underfull or overfull hboxes) and inspected
with xdvi. Ok for trunk?
:ADDPATCH docs:
2007-09-04 Rask Ingemann Lambertsen <rask@sygehus.dk>
PR web/32965
PR tree-optimization/13756
* doc/invoke.texi (Options That Control Optimization): Document
-ftree-dse.
Index: gcc/doc/invoke.texi
===================================================================
--- gcc/doc/invoke.texi (revision 127838)
+++ gcc/doc/invoke.texi (working copy)
@@ -5684,6 +5684,13 @@
performs jump threading (to reduce jumps to jumps). This flag is
enabled by default at @option{-O} and higher.
+@item -ftree-dse
+@opindex ftree-dse
+Perform dead store elimination (DSE) on trees. 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. This
+flag is enabled by default at @option{-O} and higher.
+
@item -ftree-ch
Perform loop header copying on trees. This is beneficial since it increases
effectiveness of code motion optimizations. It also saves one jump. This flag
--
Rask Ingemann Lambertsen