From: Marek Polacek Date: Fri, 3 Jan 2014 12:28:31 +0000 (+0000) Subject: re PR other/59661 (documentation: __builtin_FUNCTION / _FILE listed as returning... X-Git-Tag: releases/gcc-4.9.0~1845 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=56a34230f19c63e9203c3d1b2c3ff8c3f6e0bb7f;p=thirdparty%2Fgcc.git re PR other/59661 (documentation: __builtin_FUNCTION / _FILE listed as returning int) PR other/59661 * doc/extend.texi: Fix the return value of __builtin_FUNCTION and __builtin_FILE. From-SVN: r206315 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 09639d3cd566..a5e8ee2b5a28 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-01-03 Marek Polacek + + PR other/59661 + * doc/extend.texi: Fix the return value of __builtin_FUNCTION and + __builtin_FILE. + 2014-01-03 Jakub Jelinek PR target/59625 diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 23c530b2f86b..84fd594b6055 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -8728,12 +8728,12 @@ This function is the equivalent to the preprocessor @code{__LINE__} macro and returns the line number of the invocation of the built-in. @end deftypefn -@deftypefn {Built-in Function} int __builtin_FUNCTION () +@deftypefn {Built-in Function} {const char *} __builtin_FUNCTION () This function is the equivalent to the preprocessor @code{__FUNCTION__} macro and returns the function name the invocation of the built-in is in. @end deftypefn -@deftypefn {Built-in Function} int __builtin_FILE () +@deftypefn {Built-in Function} {const char *} __builtin_FILE () This function is the equivalent to the preprocessor @code{__FILE__} macro and returns the file name the invocation of the built-in is in. @end deftypefn