From patchwork Sun Dec 11 11:03:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tobias Burnus X-Patchwork-Id: 32175 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1716333wrr; Sun, 11 Dec 2022 03:04:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf5U2GHZodAdI2qdZwfJ1NzTLYruWS4LAxZeu2uDOBVcinm8glKIXpxHLaFXkovWSBNzeRZz X-Received: by 2002:aa7:c690:0:b0:46a:f4c1:d2e1 with SMTP id n16-20020aa7c690000000b0046af4c1d2e1mr5197626edq.35.1670756676306; Sun, 11 Dec 2022 03:04:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670756676; cv=none; d=google.com; s=arc-20160816; b=dC1hIVgGyn0RjgexG5QYRFkyGVqEo6EK7pRPZbYnz4yNx+Egk8giMmjvqTiTYSTM7A XFAw/8gCK6S50mE4EsRR7cWx0Bw7jFcoydst1Hqtz/VE4o+7HZKYjYtEuGNZHfVolRGy 9FeEoK4PWuMc6vcfMZ6zXB+J3zoV8q92QUkeAN61WrzqD0FFpufrckmdmo/ITeeSkAyl R41/i3y3saTKD6d6KXWNwvmBHeUg4G9nT9SWp7QA9SB1obtTwxcIDEIgEkxuXMt5Ve2c MsnNwOs3en27Tey8qldmDJDtuxdKjuw46/Y4tlPu5r4ZtiwolDOLABIGaoVdKFN3CalU IIsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:in-reply-to:references:to:from :content-language:subject:user-agent:mime-version:date:message-id :ironport-sdr:dmarc-filter:delivered-to; bh=FNbR+Ytwy0EVDWNgLhYjJMZiYtP60ok/rWyslWOhlT8=; b=rBeX/1W0ZyJhOI+5T/CKohX04xndk70E8cUQcbzpUIGUA5MzFPlW+VqxutMl9FuJmV L+gi+fr00s0zJ7hNjKXGDP40TDv3sxrp8kC00NrO29VRSdWefcgsJzIMwzs+FJURKgcw UzV5r8ily3u2ynsny2WN4xIkn4VnuV+bgJHEqVTAyafa3ORiZzskloT4Nbm6wWrZi9jF OiKJCGNdxi9JwinxmXz4PaBIs3DPIGJSy6cYoE9oj4uP6Hmz+iKQvaMFOU3+Pb1HhUV6 kceJ+pbMN+yEXkuGCnB7JQ+s7cfO3EdcECzGz5QDQgtDdhO3fuR5KEyUFetdEQbKy+gx ccKA== ARC-Authentication-Results: i=1; mx.google.com; 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" Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id y9-20020a056402440900b0045d27c0ba90si6468597eda.577.2022.12.11.03.04.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Dec 2022 03:04:36 -0800 (PST) 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; 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" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D7C7038C1E41 for ; Sun, 11 Dec 2022 11:04:14 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id 582B938B637F; Sun, 11 Dec 2022 11:03:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 582B938B637F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.96,236,1665475200"; d="diff'?scan'208";a="89114096" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa3.mentor.iphmx.com with ESMTP; 11 Dec 2022 03:03:48 -0800 IronPort-SDR: VBMSdsmFJGV0FKZo8HMS6q8bh9bIR6G5wMvq9oKLYkegVBdQU3WCJNuljBPk4QymqAJDOmGpy8 lcjdUXpI5WRwgx6249c/S5ZKszLFC9rp4w9l3aC3wxfAM0aljJjgDBco2N/9kZscS++ELaf7px 67v/FO0J1kg8ywrvJ2FLd7BC//hj1HHjF0QehMhf8Vna3/Rc7Rq7POmyE3p61ad9hWQIPWsih2 Pkxsi5Q16nJs2hs0RbdvLVxijeXvvHihyiPAwIrObNTukgZ5eqNUbodOeIDJd+uuW1x0pKjAAa yK0= Message-ID: Date: Sun, 11 Dec 2022 12:03:21 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: [committed] fortran/openmp.cc: Remove 's' that slipped in during %<..%> replacement (was: [Patch] Fortran: Replace simple '.' quotes by %<.%>) Content-Language: en-US From: Tobias Burnus To: gcc-patches , fortran References: <091af345-e484-7cca-e7df-b31bffbbe293@codesourcery.com> In-Reply-To: <091af345-e484-7cca-e7df-b31bffbbe293@codesourcery.com> X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-15.mgc.mentorg.com (139.181.222.15) To svr-ies-mbx-12.mgc.mentorg.com (139.181.222.12) X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP 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: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751915352409536850?= X-GMAIL-MSGID: =?utf-8?q?1751915352409536850?= On 09.12.22 22:12, Tobias Burnus wrote: > Found when working on the just submitted/committed patch. Committed as r13-4590 – but it required a follow-up that I somehow missed :-/ but that is now committed as well (as r13-4597). Tobias ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955 commit 045592f665bcb67b75dc6b86badbe2fd44aed3e6 Author: Tobias Burnus Date: Sun Dec 11 11:47:55 2022 +0100 fortran/openmp.cc: Remove 's' that slipped in during %<..%> replacement Seemingly, 's' (in VI that's the 's'ubstitute command) appeared verbatim in a gfc_error message when to doing the '...' to %<...%> replacements in commit r13-4590-g84f6f8a2a97f88be01e223c9c9dbab801a4f501f gcc/fortran/ * openmp.cc (gfc_match_omp_context_selector_specification): Remove spurious 's' in an error message. --- gcc/fortran/openmp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/fortran/openmp.cc b/gcc/fortran/openmp.cc index 7edc78ad0cb..686f924b47a 100644 --- a/gcc/fortran/openmp.cc +++ b/gcc/fortran/openmp.cc @@ -5568,7 +5568,7 @@ gfc_match_omp_context_selector_specification (gfc_omp_declare_variant *odv) if (m != MATCH_YES || i == selector_set_count) { - gfc_error ("expected %, %, % " + gfc_error ("expected %, %, % " "or % at %C"); return MATCH_ERROR; }