diff options
author | Marek Polacek <polacek@redhat.com> | 2014-01-03 12:28:31 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2014-01-03 12:28:31 +0000 |
commit | 56a34230f19c63e9203c3d1b2c3ff8c3f6e0bb7f (patch) | |
tree | b738f97f2691095efeb58edea602f77392d43d02 | |
parent | 3bcdbd50ba73bc366027844bcb44ef1afac6e766 (diff) | |
download | gcc-56a34230f19c63e9203c3d1b2c3ff8c3f6e0bb7f.zip gcc-56a34230f19c63e9203c3d1b2c3ff8c3f6e0bb7f.tar.gz gcc-56a34230f19c63e9203c3d1b2c3ff8c3f6e0bb7f.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/doc/extend.texi | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 09639d3..a5e8ee2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 23c530b..84fd594 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 |