This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[doc] document -fdce and -fdse in invoke.texi

This patch documents options -fdce and -fdse, which were added in the
merge of the dataflow branch.  Tested with make dvi/info/html/pdf.
OK for mainline?

2007-10-30  Janis Johnson  <>

	* 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.

Index: gcc/doc/invoke.texi
--- gcc/doc/invoke.texi	(revision 129723)
+++ gcc/doc/invoke.texi	(working copy)
@@ -323,8 +323,8 @@
 -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 @@
 -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 @@
 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]