aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMingjie Xing <mingjie.xing@gmail.com>2011-11-14 05:53:18 +0000
committerMingjie Xing <xmj@gcc.gnu.org>2011-11-14 05:53:18 +0000
commit51c0279887bb9caa141253e72eb7d418ffae6f58 (patch)
tree0d24cd87ff05580378a9d88a84ae3513a2405fba /gcc
parenta56125be7a8ccd5bdaf1524927bb13b22c96538a (diff)
downloadgcc-51c0279887bb9caa141253e72eb7d418ffae6f58.zip
gcc-51c0279887bb9caa141253e72eb7d418ffae6f58.tar.gz
gcc-51c0279887bb9caa141253e72eb7d418ffae6f58.tar.bz2
Fix a cross reference.
From-SVN: r181346
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e58ef32..dff0179 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-14 Mingjie Xing <mingjie.xing@gmail.com>
+
+ * doc/invoke.texi (Wunused-result): Change @pxref{Variable Attributes}
+ to @pxref{Function Attributes}.
+
2011-11-13 Oleg Endo <oleg.endo@t-online.de>
PR target/50694
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 54e4a48..1fc4437 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -3556,7 +3556,7 @@ To suppress this warning use the @samp{unused} attribute
@opindex Wunused-result
@opindex Wno-unused-result
Do not warn if a caller of a function marked with attribute
-@code{warn_unused_result} (@pxref{Variable Attributes}) does not use
+@code{warn_unused_result} (@pxref{Function Attributes}) does not use
its return value. The default is @option{-Wunused-result}.
@item -Wunused-variable