]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR other/59661 (documentation: __builtin_FUNCTION / _FILE listed as returning...
authorMarek Polacek <polacek@redhat.com>
Fri, 3 Jan 2014 12:28:31 +0000 (12:28 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Fri, 3 Jan 2014 12:28:31 +0000 (12:28 +0000)
PR other/59661
* doc/extend.texi: Fix the return value of __builtin_FUNCTION and
__builtin_FILE.

From-SVN: r206315

gcc/ChangeLog
gcc/doc/extend.texi

index 09639d3cd56643b2afc46c7113d3900ef3f7fe74..a5e8ee2b5a288987cd5805ff9327822b6a421b54 100644 (file)
@@ -1,3 +1,9 @@
+2014-01-03  Marek Polacek  <polacek@redhat.com>
+
+       PR other/59661
+       * doc/extend.texi: Fix the return value of __builtin_FUNCTION and
+       __builtin_FILE.
+
 2014-01-03  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/59625
index 23c530b2f86bfa8b563913829997ddcf898f25ec..84fd594b605563499ea8e19d26e27c2a0770b194 100644 (file)
@@ -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