aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@pfeifer.com>2015-04-12 19:29:44 +0000
committerGerald Pfeifer <gerald@gcc.gnu.org>2015-04-12 19:29:44 +0000
commit7d9ea335a2ab468316fcfbba33668ec270808751 (patch)
treef8f3fe0758963145a337b3ffe22773713545899c
parent6338536c1e438e49c67271708d45b95306506cfd (diff)
invoke.texi (-Wmemset-transposed-args): Break a long sentence.
* doc/invoke.texi (-Wmemset-transposed-args): Break a long sentence. Improve grammar. From-SVN: r222023
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index aa9349aafbd..97a1500b4f3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2015-04-12 Gerald Pfeifer <gerald@pfeifer.com>
+ * doc/invoke.texi (-Wmemset-transposed-args): Break a long
+ sentence. Improve grammar.
+
+2015-04-12 Gerald Pfeifer <gerald@pfeifer.com>
+
* doc/contrib.texi (Contributors): Add Maxim Kuvyrkov.
2015-04-11 Jan Hubicka <hubicka@ucw.cz>
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index f9781f4327a..520c2c51ce6 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -4909,10 +4909,10 @@ Warn for suspicious calls to the @code{memset} built-in function, if the
second argument is not zero and the third argument is zero. This warns e.g.@
about @code{memset (buf, sizeof buf, 0)} where most probably
@code{memset (buf, 0, sizeof buf)} was meant instead. The diagnostics
-is only emitted if the third argument is literal zero, if it is some expression
-that is folded to zero, or e.g. a cast of zero to some type etc., it
-is far less likely that user has mistakenly exchanged the arguments and
-no warning is emitted. This warning is enabled by @option{-Wall}.
+is only emitted if the third argument is literal zero. If it is some
+expression that is folded to zero, a cast of zero to some type, etc.,
+it is far less likely that the user has mistakenly exchanged the arguments
+and no warning is emitted. This warning is enabled by @option{-Wall}.
@item -Waddress
@opindex Waddress