+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
-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
-fdelayed-branch @gol
-fguess-branch-probability @gol
-fcprop-registers @gol
+-fdce @gol
+-fdse @gol
-fif-conversion @gol
-fif-conversion2 @gol
-fsplit-wide-types @gol
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