From: Mingjie Xing Date: Mon, 14 Nov 2011 05:53:18 +0000 (+0000) Subject: Fix a cross reference. X-Git-Tag: releases/gcc-4.7.0~2205 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51c0279887bb9caa141253e72eb7d418ffae6f58;p=thirdparty%2Fgcc.git Fix a cross reference. From-SVN: r181346 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e58ef3216b6c..dff01791a84a 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 54e4a48d11d1..1fc44372e322 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