invoke.texi (Option Summary): Add -fdce and -fdse to list of optimization options.
authorJanis Johnson <janis187@us.ibm.com>
Tue, 30 Oct 2007 22:45:00 +0000 (22:45 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Tue, 30 Oct 2007 22:45:00 +0000 (22:45 +0000)
* doc/invoke.texi (Option Summary): Add -fdce and -fdse to list of
optimization options.
(Optimize Options): Add -fdce and -fdse to the list of optimizations
enabled by -O.  Document -fdce and -fdse.

From-SVN: r129786

gcc/ChangeLog
gcc/doc/invoke.texi

index 1f0196dcbbb6ecfd5b81fc2dd814be8c1473790b..e7357c0e2eddbb5c158bfecdff3024d8ce32b707 100644 (file)
@@ -1,3 +1,10 @@
+2007-10-30  Janis Johnson  <janis187@us.ibm.com>
+
+       * doc/invoke.texi (Option Summary): Add -fdce and -fdse to list of
+       optimization options.
+       (Optimize Options): Add -fdce and -fdse to the list of optimizations
+       enabled by -O.  Document -fdce and -fdse.
+
 2007-10-30  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/33709
index ce1693ac1b05dc3759f9604435db4da72b0f0591..b98d70c4ef2fe991536f9a9400047af1a00835a3 100644 (file)
@@ -323,8 +323,8 @@ Objective-C and Objective-C++ Dialects}.
 -fbranch-target-load-optimize @gol
 -fbranch-target-load-optimize2 -fbtr-bb-exclusive @gol
 -fcaller-saves  -fcprop-registers  -fcse-follow-jumps @gol
--fcse-skip-blocks  -fcx-limited-range  -fdata-sections @gol
--fdelayed-branch  -fdelete-null-pointer-checks -fearly-inlining @gol
+-fcse-skip-blocks  -fcx-limited-range  -fdata-sections  -fdce @gol
+-fdelayed-branch  -fdelete-null-pointer-checks  -fdse  -fearly-inlining @gol
 -fexpensive-optimizations  -ffast-math  -ffloat-store @gol
 -fforce-addr  -fforward-propagate  -ffunction-sections @gol
 -fgcse  -fgcse-lm  -fgcse-sm  -fgcse-las  -fgcse-after-reload @gol
@@ -5031,6 +5031,8 @@ compilation time.
 -fdelayed-branch @gol
 -fguess-branch-probability @gol
 -fcprop-registers @gol
+-fdce @gol
+-fdse @gol
 -fif-conversion @gol
 -fif-conversion2 @gol
 -fsplit-wide-types @gol
@@ -5483,6 +5485,16 @@ resulting code may or may not perform better than without cross-jumping.
 
 Enabled at levels @option{-O2}, @option{-O3}, @option{-Os}.
 
+@item -fdce
+@opindex fdce
+Perform dead code elimination (DCE) on RTL.
+Enabled by default at @option{-O} and higher.
+
+@item -fdse
+@opindex fdse
+Perform dead store elimination (DSE) on RTL.
+Enabled by default at @option{-O} and higher.
+
 @item -fif-conversion
 @opindex fif-conversion
 Attempt to transform conditional jumps into branch-less equivalents.  This