While continuing to work on a proposal for splitting up the optimization options section of the GCC manual into subsections (just posted to gcc@), I found that -funroll-loops and -funroll-all-loops also had duplicate entries. As with the previous patch to remove the duplicate for -ftracer, I kept the more featureful of the two entries.

Patch committed as obvious.

-Sandra

2015-01-18  Sandra Loosemore  <san...@codesourcery.com>

        gcc/
        * doc/invoke.texi ([-funroll-loops], [-funroll-all-loops]):
        Remove duplicate option listings.
Index: gcc/doc/invoke.texi
===================================================================
--- gcc/doc/invoke.texi	(revision 219803)
+++ gcc/doc/invoke.texi	(working copy)
@@ -8727,20 +8727,6 @@ enabled by default at @option{-O2} and h
 elimination is only done if @option{-fdelete-null-pointer-checks} is
 enabled.
 
-@item -funroll-loops
-@opindex funroll-loops
-Unroll loops whose number of iterations can be determined at compile
-time or upon entry to the loop.  @option{-funroll-loops} implies
-@option{-frerun-cse-after-loop}.  This option makes code larger,
-and may or may not make it run faster.
-
-@item -funroll-all-loops
-@opindex funroll-all-loops
-Unroll all loops, even if their number of iterations is uncertain when
-the loop is entered.  This usually makes programs run more slowly.
-@option{-funroll-all-loops} implies the same options as
-@option{-funroll-loops},
-
 @item -fsplit-ivs-in-unroller
 @opindex fsplit-ivs-in-unroller
 Enables expression of values of induction variables in later iterations

Reply via email to