From f423253bd71fe25fc97e9aef002e33dd1619f0d4 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Mon, 13 Jun 2016 07:28:33 +0000 Subject: [PATCH] decl.c (grokdeclarator): Fix typo in pedwarn text. 2016-06-13 Paolo Carlini * decl.c (grokdeclarator): Fix typo in pedwarn text. From-SVN: r237354 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/decl.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 53d55d3b3a6..2b17452d812 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2016-06-13 Paolo Carlini + + * decl.c (grokdeclarator): Fix typo in pedwarn text. + 2016-06-10 Thomas Schwinge PR c/71381 diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index ca36171d4f5..415689f535f 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, - "% specified invalid for function %qs " + "% specifier invalid for function %qs " "declared out of global scope", name); else pedwarn (input_location, OPT_Wpedantic, -- 2.30.2