From 51c0279887bb9caa141253e72eb7d418ffae6f58 Mon Sep 17 00:00:00 2001 From: Mingjie Xing Date: Mon, 14 Nov 2011 05:53:18 +0000 Subject: [PATCH] Fix a cross reference. From-SVN: r181346 --- gcc/ChangeLog | 5 +++++ gcc/doc/invoke.texi | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e58ef3216b6..dff01791a84 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-11-14 Mingjie Xing + + * doc/invoke.texi (Wunused-result): Change @pxref{Variable Attributes} + to @pxref{Function Attributes}. + 2011-11-13 Oleg Endo PR target/50694 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 54e4a48d11d..1fc44372e32 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 -- 2.30.2