From patchwork Mon Jul 24 14:14:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 125010 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp1829414vqg; Mon, 24 Jul 2023 07:15:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlHHLxUSAalYL13tkaCaBhtu/4Hjb0nqC4RgUWKUqKC7FTriRrzaEh37RISAcFpvw7PIByW0 X-Received: by 2002:a17:907:784f:b0:99b:445d:45d3 with SMTP id lb15-20020a170907784f00b0099b445d45d3mr9176999ejc.67.1690208128652; Mon, 24 Jul 2023 07:15:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690208128; cv=none; d=google.com; s=arc-20160816; b=tWBcFTFIDjs7s8QEwUwSsexMVvYj19/WbdNYk4mJF4r7zRsZice8TYdhmaKVntGN59 mGFHvp3zoJy/eYvfZmlfjD3p/vkpTEUgf1WSylpLObyD3YwSi43xfrhEJPoOruvDVVpc A4eno/DjzW1K9oO4s/t2CfbAqc3NYSgwTpCumVplq1i4RuMD+oLojp05VmvkZlgA5rxn ZLvo4Zd6nBuiKgMlRRc+u16MHLcdQRxcHq/iGfgBQQdDpk5Q0XZ+aV4Vw1opHeTspm0i Co80zvwtoTGrGNPKL5K9rQFULT69gOu64CmrIYx090hzIruDoZgS+3fPWBeICoBFXr5+ GxqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:subject:to :content-language:user-agent:mime-version:date:message-id :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=uedoX+2+t2kHZASdjiR/5ZivttWoHtCN9jnWKzvnz8E=; fh=M5qwlmhoC9OW65qhxcbZ1oi6Och98fkiOGD1Iw/ypWA=; b=vW4ASxevGdnPmZCsp3IE0MphPIIGnaHR0SHCPgTuwmDp2eFHs65ZerIY+iMgF79AQc i72+1eelI8f66PHx4DvJIoAftuyJDJgz4mdXwXDS0tFAES19sn8YTDx46kfbsOAvXDhQ /lSdcIKJATYzBRz+2DZQYEwQx5D3PEkPkXt1rI6ljBXb99tpCrHScqtCl+G/Yqj6ReC0 z6bLEbYX9pWMIgtMgewF5YWHiRumsmeQxGjsEPhSnrEUYqi4/CbyzDdze37mF3DvBeXt gB2iG9EYGo9B6MUBpaYFwvQ3ZNn9V/nFxYGSusJKoLJq738H5k9yHEkvo1q3P07RD8Pp RBLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=yid3tObj; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id v20-20020a1709060b5400b0098932a90cdasi6409774ejg.255.2023.07.24.07.15.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jul 2023 07:15:28 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=yid3tObj; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EEBC53857B8E for ; Mon, 24 Jul 2023 14:15:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EEBC53857B8E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690208127; bh=uedoX+2+t2kHZASdjiR/5ZivttWoHtCN9jnWKzvnz8E=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=yid3tObjNDHLZ+Ms4ylMrax9f+aEJpYf+vuSj8GrXjijwnEPIciKUy9cMKZWDZ2DB 0CdnO4bguXYeHmIIq+pXPVgKN49ZTokHntHlokwExMhJCdigJTSinU3zFD8g4Cou2U pDuU/LMiItKnUYRYftbv+pT2UvP3xrz6q7NRbjdw= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by sourceware.org (Postfix) with ESMTPS id 7C0273858C62 for ; Mon, 24 Jul 2023 14:14:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7C0273858C62 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1b8ad356fe4so26781305ad.2 for ; Mon, 24 Jul 2023 07:14:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690208081; x=1690812881; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uedoX+2+t2kHZASdjiR/5ZivttWoHtCN9jnWKzvnz8E=; b=XW2pDXGcHE4hAS5ELRKcdqLuqsbq+FcrUP0O8DLGK4QL+x8wgHFN6n6QOLWvatr119 z5Vvjp1pNypy8Cy4hF0wYoQBWtSYOAwRAMGfMUnc8USOibFYNHfwgfhhqDsGxaMcGQ7M rUdQcFTkFFpN2xrrpuqULgzRLoKqlfjfZkD6P0mHZi6nGdSHRHKhO892xzXbIaJtzFrq CAh/5m3viC1mTpuC/PT2bA+ceiNcZvmh2S0x4Ppn07gdNhyOoLwORt2sy6xplcs0UeJc SlugGYw62JFvSayxxpsquCLUsZxd2ofbSpCvscWOCvAViEhSuDfw4dMM7o2oAMJa48V8 5OLg== X-Gm-Message-State: ABy/qLatcNB4FmBB/ULhGWXrzp/TufmmJjTAbxIyhC8DPs4IBlKAWVbt QR1aiCVo0ZdI6N/UsDurfmx2UJs6/aZ3AA== X-Received: by 2002:a17:902:9f97:b0:1bb:98a0:b78a with SMTP id g23-20020a1709029f9700b001bb98a0b78amr4361533plq.18.1690208080253; Mon, 24 Jul 2023 07:14:40 -0700 (PDT) Received: from [172.31.1.103] ([172.56.168.196]) by smtp.gmail.com with ESMTPSA id c21-20020a170902849500b001b9df8f14d7sm8944217plo.267.2023.07.24.07.14.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Jul 2023 07:14:39 -0700 (PDT) Message-ID: <7ab38962-3068-cb94-f6b9-4331c7916898@gmail.com> Date: Mon, 24 Jul 2023 08:14:37 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Content-Language: en-US To: "gcc-patches@gcc.gnu.org" Subject: [committed] Use single quote rather than backquote in RISC-V diagnostic X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_SBL_CSS, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jeff Law via Gcc-patches From: Jeff Law Reply-To: Jeff Law Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772311678865567145 X-GMAIL-MSGID: 1772311678865567145 Similar to the other patch this morning, this fixes a warning that was causing the RISC-V bootstrap to fail. In this case the diagnostic used a backquote. This changes it to a simple single quote which the diagnostic framework won't complain about. Committed to the trunk. Jeff commit d90e81af8052e96ae3262ed3ac42682537fc42c6 Author: Jeff Law Date: Mon Jul 24 08:10:21 2023 -0600 [committed] Use single quote rather than backquote in RISC-V diagnostic Similar to the other patch this morning, this fixes a warning that was causing the RISC-V bootstrap to fail. In this case the diagnostic used a backquote. This changes it to a simple single quote which the diagnostic framework won't complain about. Committed to the trunk. gcc/ * common/config/riscv/riscv-common.cc (riscv_subset_list::add): Use single quote rather than backquote in diagnostic. diff --git a/gcc/common/config/riscv/riscv-common.cc b/gcc/common/config/riscv/riscv-common.cc index 884d81c12aa..5238877a82d 100644 --- a/gcc/common/config/riscv/riscv-common.cc +++ b/gcc/common/config/riscv/riscv-common.cc @@ -573,7 +573,7 @@ riscv_subset_list::add (const char *subset, int major_version, else if (subset[0] == 'z' && !standard_extensions_p (subset)) { error_at (m_loc, - "%<-march=%s%>: extension %qs starts with `z` but is " + "%<-march=%s%>: extension %qs starts with 'z' but is " "unsupported standard extension", m_arch, subset); return; @@ -581,7 +581,7 @@ riscv_subset_list::add (const char *subset, int major_version, else if (subset[0] == 's' && !standard_extensions_p (subset)) { error_at (m_loc, - "%<-march=%s%>: extension %qs starts with `s` but is " + "%<-march=%s%>: extension %qs starts with 's' but is " "unsupported standard supervisor extension", m_arch, subset); return; @@ -589,7 +589,7 @@ riscv_subset_list::add (const char *subset, int major_version, else if (subset[0] == 'x' && !standard_extensions_p (subset)) { error_at (m_loc, - "%<-march=%s%>: extension %qs starts with `x` but is " + "%<-march=%s%>: extension %qs starts with 'x' but is " "unsupported non-standard extension", m_arch, subset); return;