aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/extend.texi2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 695f9c4..ba549f7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2019-05-23 Jonathan Wakely <jwakely@redhat.com>
+
+ PR c++/90592
+ * doc/extend.texi (Function Names): Add missing word.
+
2019-05-23 Richard Biener <rguenther@suse.de>
PR tree-optimization/88440
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 7819766..777d974 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -10830,7 +10830,7 @@ evaluates to the empty string.
backward compatibility with old versions of GCC.
In C, @code{__PRETTY_FUNCTION__} is yet another name for
-@code{__func__}, except that at file (or, in C++, namespace scope),
+@code{__func__}, except that at file scope (or, in C++, namespace scope),
it evaluates to the string @code{"top level"}. In addition, in C++,
@code{__PRETTY_FUNCTION__} contains the signature of the function as
well as its bare name. For example, this program: