From patchwork Fri Jul 26 11:27:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin Dapp X-Patchwork-Id: 1965276 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=F9C49C2M; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WVlqY2wHYz1yXx for ; Fri, 26 Jul 2024 21:28:08 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 02FFB382EF10 for ; Fri, 26 Jul 2024 11:28:07 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by sourceware.org (Postfix) with ESMTPS id 55A983865C2C for ; Fri, 26 Jul 2024 11:27:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 55A983865C2C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 55A983865C2C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::529 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721993267; cv=none; b=D4qRFw81xui/kBkM743lqbbmz6ZmRHpvSTqbsrn/ckhnGORAURljo8pldYVOXRkrNZubtdgxCfpEg4rtnNTaxUy2XjrkP2mcOvSDvT5qtCrkBPjHDRYwipyNhhpx+9WWdAOMK2AiZRVB6pofpJh959YMuHB/WOxwNWbC2gmiLIQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721993267; c=relaxed/simple; bh=rmAFIsmfndi1szJd3hJHt4T7YCpIfhklk2ADcoNW/2Y=; h=DKIM-Signature:Mime-Version:Date:Message-Id:To:From:Subject; b=Qgjx+TPHdED5J1ghj7LFPNYo5CiP4MU7HYpiySqpDLCF/cMkoxWap3R5Z8F0bY4jXf8HjC2MevXuelNxLnrLk9QyN7bvNGMYIIcroAqF3a+Yq7so7RkuRst/ICrja0OgV6hjJ35femOFdsuZMT5ZrjkTDAgNe0XCkCm/MZC7gl4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-5a20de39cfbso2477356a12.1 for ; Fri, 26 Jul 2024 04:27:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721993263; x=1722598063; darn=gcc.gnu.org; h=subject:from:to:cc:message-id:date:content-transfer-encoding :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=S4h0mc67KC7yorVJIe1MR9mkIePFN70/uRMzqHobPtI=; b=F9C49C2M91CvX6mDV2/BOKBotmrPJtwCZ3/xoYHtQKHQOJfAdUK3sveQaVerkylcGH kufdRFaLI2lps8qjiiLu7G/nCrlFB4mKGyfYZBHIOnNov1wW4UWuUm1i8mGuZ7/qxy7c 22uUZz2KHLad2qNCGuh7YQcTejIVMObiNdmc5z4G4/0px0+24Zw4hCLppoTieixxzRkc 9Yjv3qTUJ0oAPe6vWWi+Y87lUbUdEn7C6sWZXncqwpue3iunAjoAbF8zacIyBG3vJgU6 EwxF/GbbG6iUN+uUFA0zA3dBjJ+3Q+M23u2MFfVyV1onPdYosWtLC7fMxKI+zqsT1JVa 0gDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721993263; x=1722598063; h=subject:from:to:cc:message-id:date:content-transfer-encoding :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=S4h0mc67KC7yorVJIe1MR9mkIePFN70/uRMzqHobPtI=; b=WDA7znijCEIe+qTb4aIIPY1wAMZP7RVs58vGWJKjFtf6sS4qRnjFpjF6+v1KCxjnV9 J/QuCTsosrzi2GL//NjsEZEFQan4i6pleQ8ULSR8rEfyIJkNI2b0dQu34j24RxanGRx5 dzj58K7z5L+oq+XEnp8WUKNo9YJCCkjJJ9rJqveALyjhNlGdKJYTv+GbEj0TxA8Ldhv/ XYzQ0TAhDVY/0791VGOpcdvhUbodRy6cp3vDut+hv26+n6AF9FC0P3BsCOd2YbaG+CQ0 XVixqsp1HrCYInLRo2ag31Rw8aZB6tvZXklLCAH2MrHhpRPd619eopcwrI780GH5TcGV VSrw== X-Gm-Message-State: AOJu0YyxOkKM8lV462BOzLf7d/7FdaCej80xxWZtGxxEp4Kj8IEO7sIw FATKSQQX6aTPSTJLDsxN4us2MHTvgNBbI3T2nr4XVn3prQj2+QSqyea0tw== X-Google-Smtp-Source: AGHT+IGHU8Fbqivs0Z3T0w9q89OZbntVSYdE6Xr7Xl3gRsVoXUhCd/bm48KZ2I2mxtKb93Oi38sTNg== X-Received: by 2002:a50:c30f:0:b0:582:5195:3a79 with SMTP id 4fb4d7f45d1cf-5ac631af735mr3408679a12.6.1721993262824; Fri, 26 Jul 2024 04:27:42 -0700 (PDT) Received: from localhost (ip-149-172-150-237.um42.pools.vodafone-ip.de. [149.172.150.237]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5ac655811d6sm1827494a12.83.2024.07.26.04.27.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Jul 2024 04:27:42 -0700 (PDT) Mime-Version: 1.0 Date: Fri, 26 Jul 2024 13:27:41 +0200 Message-Id: Cc: , , , , To: "gcc-patches" From: "Robin Dapp" Subject: [PATCH] RISC-V: Work around bare apostrophe in error string. X-Spam-Status: No, score=-9.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org Hi, an unquoted apostrophe slipped through when testing the recent V/M extension patch. This, again, re-words the message to "Currently the 'V' implementation requires the 'M' extension". Going to commit as obvious after testing. Regards Robin gcc/ChangeLog: * config/riscv/riscv.cc (riscv_override_options_internal): Reword error string without apostrophe. --- gcc/config/riscv/riscv.cc | 2 +- gcc/testsuite/gcc.target/riscv/rvv/base/pr116036.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc index 2bb7f2aace1..a490b9598b0 100644 --- a/gcc/config/riscv/riscv.cc +++ b/gcc/config/riscv/riscv.cc @@ -9694,7 +9694,7 @@ riscv_override_options_internal (struct gcc_options *opts) /* We might use a multiplication to calculate the scalable vector length at runtime. Therefore, require the M extension. */ if (TARGET_VECTOR && !TARGET_MUL) - sorry ("GCC's current % implementation requires the % extension"); + sorry ("Currently the % implementation requires the % extension"); /* Likewise floating-point division and square root. */ if ((TARGET_HARD_FLOAT_OPTS_P (opts) || TARGET_ZFINX_OPTS_P (opts)) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/pr116036.c b/gcc/testsuite/gcc.target/riscv/rvv/base/pr116036.c index a72209593f3..7b39291a91a 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/pr116036.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/pr116036.c @@ -8,4 +8,4 @@ void init() { a[i_0][i_1] = 1; } -/* { dg-excess-errors "sorry, unimplemented: GCC's current 'V' implementation requires the 'M' extension" } */ +/* { dg-excess-errors "sorry, unimplemented: Currently the 'V' implementation requires the 'M' extension" } */