decl.c (grokdeclarator): Fix typo in pedwarn text.
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 13 Jun 2016 07:28:33 +0000 (07:28 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 13 Jun 2016 07:28:33 +0000 (07:28 +0000)
2016-06-13  Paolo Carlini  <paolo.carlini@oracle.com>

* decl.c (grokdeclarator): Fix typo in pedwarn text.

From-SVN: r237354

gcc/cp/ChangeLog
gcc/cp/decl.c

index 53d55d3b3a6203d6250ef1b682e676e3f538b6cc..2b17452d8122a1ca2feb138d52bbe3104742c548 100644 (file)
@@ -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
index ca36171d4f5b39fd2931964fdd58f62eedc29766..415689f535fdc908b8bf2be8961b608865b8c17f 100644 (file)
@@ -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,