From patchwork Tue Jan 25 22:38:20 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: obvious typo and grammar fixes to invoke.texi Date: Tue, 25 Jan 2011 12:38:20 -0000 From: Jonathan Wakely X-Patchwork-Id: 80420 Message-Id: To: gcc-patches 2011-01-25 Jonathan Wakely * doc/invoke.texi (Warning Options): Add missing hyphen. (-fprofile-dir): Minor grammatical fixes. (-fbranch-probabilities): Likewise. Committed to trunk as obvious. Index: invoke.texi =================================================================== --- invoke.texi (revision 169259) +++ invoke.texi (working copy) @@ -229,7 +229,7 @@ Objective-C and Objective-C++ Dialects}. @item Warning Options @xref{Warning Options,,Options to Request or Suppress Warnings}. -@gccoptlist{-fsyntax-only fmax-errors=@var{n} -pedantic @gol +@gccoptlist{-fsyntax-only -fmax-errors=@var{n} -pedantic @gol -pedantic-errors @gol -w -Wextra -Wall -Waddress -Waggregate-return -Warray-bounds @gol -Wno-attributes -Wno-builtin-macro-redefined @gol @@ -7720,13 +7720,13 @@ default, GCC will emit an error message @item -fprofile-dir=@var{path} @opindex fprofile-dir -Set the directory to search the profile data files in to @var{path}. +Set the directory to search for the profile data files in to @var{path}. This option affects only the profile data generated by @option{-fprofile-generate}, @option{-ftest-coverage}, @option{-fprofile-arcs} and used by @option{-fprofile-use} and @option{-fbranch-probabilities} and its related options. -By default, GCC will use the current directory as @var{path} -thus the profile data file will appear in the same directory as the object file. +By default, GCC will use the current directory as @var{path}, thus the +profile data file will appear in the same directory as the object file. @item -fprofile-generate @itemx -fprofile-generate=@var{path} @@ -8011,7 +8011,7 @@ With @option{-fbranch-probabilities}, GC @samp{REG_BR_PROB} note on each @samp{JUMP_INSN} and @samp{CALL_INSN}. These can be used to improve optimization. Currently, they are only used in one place: in @file{reorg.c}, instead of guessing which path a -branch is mostly to take, the @samp{REG_BR_PROB} values are used to +branch is most likely to take, the @samp{REG_BR_PROB} values are used to exactly determine which path is taken more often. @item -fprofile-values