From patchwork Sun Jun 12 19:12:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Carlini X-Patchwork-Id: 634213 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rSQXf0wsGz9sDG for ; Mon, 13 Jun 2016 05:12:49 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=Ta1NvVBS; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=CQFPc8V28BCZZNwpZs+kClsJUlad6qe4VtZRJNl7WhYRKuWrRt BtgMuqufSiAbMt02V/zSeQeUde40awKMiikxnxqj0T+7itWgRiZysXaVUZzRDMUt NfGidq/Zyj4opeHcyk514hwcLWjVZsFpWjXVOBSlmCVuwD0thTL1gyGOo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=bRET8HnHN07hGKeGd3B7uhAcF8Y=; b=Ta1NvVBS22utWZCZDtvv V0ZP4EoYtstz1OUNwQ2v8PlZmUu2qCChQgiwfPIDMIjp7bDuJA7+mc30xjeXt4mi Iyg9WOoKkXxAGKm7+Q5AXwFSVvGcIKQhPUV8Mp84NyMFr/EK0URCeThtpXvJygnT 2ib+5pb3RSyCrl9MKa6Z/gA= Received: (qmail 125358 invoked by alias); 12 Jun 2016 19:12:42 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 125319 invoked by uid 89); 12 Jun 2016 19:12:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: aserp1040.oracle.com Received: from aserp1040.oracle.com (HELO aserp1040.oracle.com) (141.146.126.69) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sun, 12 Jun 2016 19:12:31 +0000 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u5CJCR5q019165 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 12 Jun 2016 19:12:28 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u5CJCRbN017336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 12 Jun 2016 19:12:27 GMT Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u5CJCQCC028728 for ; Sun, 12 Jun 2016 19:12:27 GMT Received: from [192.168.1.4] (/79.23.238.165) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 12 Jun 2016 12:12:26 -0700 To: "gcc-patches@gcc.gnu.org" From: Paolo Carlini Subject: [C++ Patch, trivial] Fix typo in pedwarn text Message-ID: <575DB418.8060306@oracle.com> Date: Sun, 12 Jun 2016 21:12:24 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 X-IsSubscribed: yes Hi, I'm going to fix this very, very old (for sure in 2008 it was already there) typo. Thanks, Paolo. //////////////// 2016-06-12 Paolo Carlini * decl.c (grokdeclarator): Fix typo in pedwarn text. Index: decl.c =================================================================== --- decl.c (revision 237318) +++ decl.c (working copy) @@ -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,