aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2016-06-13 07:28:33 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2016-06-13 07:28:33 +0000
commitf423253bd71fe25fc97e9aef002e33dd1619f0d4 (patch)
tree50a4cb0788a4b2ff4d3ba1b5f8ec8c8fc3e5f217 /gcc
parent5843a5f0a2d875ac67b098e6a8eae0501e31fe16 (diff)
downloadgcc-f423253bd71fe25fc97e9aef002e33dd1619f0d4.zip
gcc-f423253bd71fe25fc97e9aef002e33dd1619f0d4.tar.gz
gcc-f423253bd71fe25fc97e9aef002e33dd1619f0d4.tar.bz2
decl.c (grokdeclarator): Fix typo in pedwarn text.
2016-06-13 Paolo Carlini <paolo.carlini@oracle.com> * decl.c (grokdeclarator): Fix typo in pedwarn text. From-SVN: r237354
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/decl.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 53d55d3b..2b17452 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2016-06-13 Paolo Carlini <paolo.carlini@oracle.com>
+
+ * decl.c (grokdeclarator): Fix typo in pedwarn text.
+
2016-06-10 Thomas Schwinge <thomas@codesourcery.com>
PR c/71381
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index ca36171..415689f 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -11365,7 +11365,7 @@ grokdeclarator (const cp_declarator *declarator,
{
if (storage_class == sc_static)
pedwarn (input_location, OPT_Wpedantic,
- "%<static%> specified invalid for function %qs "
+ "%<static%> specifier invalid for function %qs "
"declared out of global scope", name);
else
pedwarn (input_location, OPT_Wpedantic,