summaryrefslogtreecommitdiff
path: root/gcc/doc/extend.texi
diff options
context:
space:
mode:
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-03 12:28:31 +0000
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-03 12:28:31 +0000
commit1545a06d02d0079b240c843a726841936ea3b9a1 (patch)
treeb738f97f2691095efeb58edea602f77392d43d02 /gcc/doc/extend.texi
parent0ff576b901c1d35d382abef6472c003809bbe585 (diff)
downloadgcc-1545a06d02d0079b240c843a726841936ea3b9a1.tar.gz
PR other/59661
* doc/extend.texi: Fix the return value of __builtin_FUNCTION and __builtin_FILE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206315 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/extend.texi')
-rw-r--r--gcc/doc/extend.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 23c530b2f86..84fd594b605 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