aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely.gcc@gmail.com>2011-01-25 22:38:14 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2011-01-25 22:38:14 +0000
commit5734f2b3e51ec5739d9f5acb4d0621e6bb944cd2 (patch)
tree0960f9cda979bf0fdda0056531e2dd7398a34053
parent9bdbdcef9a8c9615c7d7ccb69bc5110b3c04a78b (diff)
downloadgcc-5734f2b3e51ec5739d9f5acb4d0621e6bb944cd2.zip
gcc-5734f2b3e51ec5739d9f5acb4d0621e6bb944cd2.tar.gz
gcc-5734f2b3e51ec5739d9f5acb4d0621e6bb944cd2.tar.bz2
invoke.texi (Warning Options): Add missing hyphen.
2011-01-25 Jonathan Wakely <jwakely.gcc@gmail.com> * doc/invoke.texi (Warning Options): Add missing hyphen. (-fprofile-dir): Minor grammatical fixes. (-fbranch-probabilities): Likewise. From-SVN: r169261
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/invoke.texi10
2 files changed, 11 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f6b623f..78fa228 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2011-01-25 Jonathan Wakely <jwakely.gcc@gmail.com>
+
+ * doc/invoke.texi (Warning Options): Add missing hyphen.
+ (-fprofile-dir): Minor grammatical fixes.
+ (-fbranch-probabilities): Likewise.
+
2011-01-25 Alexandre Oliva <aoliva@redhat.com>
PR debug/45136
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 8dba2ec..37a6e4e 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -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 when an inconsistent profile is detected
@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}, GCC puts a
@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