From patchwork Thu Jul 6 10:02:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Richard Earnshaw \(lists\)" X-Patchwork-Id: 107106 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1892737qge; Thu, 6 Jul 2017 03:02:49 -0700 (PDT) X-Received: by 10.84.234.2 with SMTP id m2mr15358688plk.268.1499335369641; Thu, 06 Jul 2017 03:02:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499335369; cv=none; d=google.com; s=arc-20160816; b=Ljp0qPHI7JVWOyg04tXrH3FOsywUXILuOU1pEhNPSieoiXtlIrHKGOgoIKupks/erX oid9wgcvg/ZcsH1NsqurUqTCY/5cHWJsYWzPY1HvFGYETr55pX+f/Z2tq4YSMpiwbnm4 MRX4S5VkMeZoeyRoGhE9LWxYL8k7/c6bMX4YOsoz95CIXWJCkE6DiWow/+9DTr3fcB+R x7uSh48uKUsbfuea53cyiuTndWz5LrolE1qDlndyy6SCVQ1fEDxxLwQQrvpuwq9RGk9E A3Z7oX1+SFDWlGw4NqFOjC3vxIOCwcs0wZbs9K/xI2SKQyXFqtEa92DlwV86iCce0Dwy UIyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:date:message-id:subject:from:to :delivered-to:sender:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=cDX7xMgwbUf8EC9hhkaFokQC6hQdz1z13KYaNJQIP5A=; b=ke9nMpKK34y73UwI5J8AEUIjK8b4/tUlc2wxwyd9CUMsD4q6s5ihUYJbIsyvn/4Jb5 HttyB6NLsnQMZb/r8Z29LzqTLxVLv9AYI5nqjCMoODb4qGp6DLntII//zi/l+mBqkqXE qmih7QHM65s/zsY5hG2VXtNx1eizzzMlWbvAwjdNlgFclCeAMbHx+ZFRSMtSXYB8+qzj sFfbRC1XyceA2GUrBbhrw9eM/YNOgkrYuEI+eLVX4tPJKqZC6Z8sNfiF8LsDqh5V+hhB AU0nQJAlwiMCneKvosaOJdV/ri54jdM093jGHTGpmURxv0Ol3PCg9Re2PBP7YFWcLs19 g+6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.b=JLPcJBmT; spf=pass (google.com: domain of gcc-patches-return-457665-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-457665-patch=linaro.org@gcc.gnu.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id y7si1084747pgb.541.2017.07.06.03.02.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Jul 2017 03:02:49 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-457665-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.b=JLPcJBmT; spf=pass (google.com: domain of gcc-patches-return-457665-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-457665-patch=linaro.org@gcc.gnu.org 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=wDi/ruDgM1HsqOb0bkmd0kUtDUBKAJSvZyEPE6Mby6slvQmNDq arVbVHyzIW2Rtneo+R+2Ef5L3zUtV+8+pIAcV2RShlSZosvT36MsxJu+1oypkuWb 56+RjLQeu/RYuOIYFr41Z0Lxj2+JDIg2L+XJlL+Ysx4BVOLAZo/Yskyc0= 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=ZPzmpAsYvGH/6lvPb9pS6fUK6Cg=; b=JLPcJBmT+cH/I1VFEzn1 eqpDhYDKdOTvK+T6+CosOGiF6LzLHuezvJ5sIBFH/E9pYWDu+TDOUnlQw3vL9k5n HK3slKsZRIOFI+boFnqKtszSF2LrdU2fMJ0L9lcY1/tqNxEJnTEAuttwxItPn7iq FIJM6wgoeZR4VP8xm7weVlc= Received: (qmail 130953 invoked by alias); 6 Jul 2017 10:02:26 -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 130916 invoked by uid 89); 6 Jul 2017 10:02:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=letter X-HELO: foss.arm.com Received: from usa-sjc-mx-foss1.foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 06 Jul 2017 10:02:23 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A7B4A80D; Thu, 6 Jul 2017 03:02:21 -0700 (PDT) Received: from e105689-lin.cambridge.arm.com (e105689-lin.cambridge.arm.com [10.2.207.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 35C5A3F3E1; Thu, 6 Jul 2017 03:02:21 -0700 (PDT) To: gcc-patches From: "Richard Earnshaw (lists)" Subject: [arm] Fix warning in parsecpu.awk Message-ID: <556c53d9-b01e-0586-8148-f9475af03903@arm.com> Date: Thu, 6 Jul 2017 11:02:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In awk, single quotes within a quoted string do not need escaping. The existing code causes awk to grumble in the build logs. * config/arm/parsecpu.awk (gen_comm_data): Do not escape single quotes in quoted strings. Committed. R. diff --git a/gcc/config/arm/parsecpu.awk b/gcc/config/arm/parsecpu.awk index d096bca..9d01e2c 100644 --- a/gcc/config/arm/parsecpu.awk +++ b/gcc/config/arm/parsecpu.awk @@ -301,7 +301,7 @@ function gen_comm_data () { arch_base[archs[n]] "," # profile letter code, or zero if none. if (archs[n] in arch_prof) { - print " \'" arch_prof[archs[n]] "\'," + print " '" arch_prof[archs[n]] "'," } else { print " 0," }