From patchwork Thu Jul 27 01:28:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 1813481 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ventanamicro.com header.i=@ventanamicro.com header.a=rsa-sha256 header.s=google header.b=odwGTVMf; dkim-atps=neutral Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RBCpt44pMz1yYl for ; Thu, 27 Jul 2023 11:29:07 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0AC7B3856954 for ; Thu, 27 Jul 2023 01:29:05 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) by sourceware.org (Postfix) with ESMTPS id CAAC53858C2F for ; Thu, 27 Jul 2023 01:28:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CAAC53858C2F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=ventanamicro.com Received: by mail-qk1-x72f.google.com with SMTP id af79cd13be357-7658430eb5dso39003485a.2 for ; Wed, 26 Jul 2023 18:28:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1690421331; x=1691026131; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=+sHtZsVyoL+xiAIMamuVz3zpq3FJEAxDzJzEOMixgRI=; b=odwGTVMfM1t5Ud2Iu2DQBI8iEI0ulKBC2c0KdIplf/KQB3PhUblNQMYLCEeHFcRRYR UmhLxTA1xImPANQw3MHtLQRP4ktLiGT0yv4ucB8XHl1TETC8GGnaplGnBXj/Fmv1OOt4 cv2KCt5xt7p2V4ePJ29xAaeTKXZuPnskGiiyN2au40/TGjAwa3i0yz+kROUIDAfgap97 g/j4YeM4heZMG0CwFlOtR67eqyqBTKjyztROC6EITs8XRli41qwaCIf42rcIJYYuPXWw ATgQc2sRL+vHGqXnonIY6IiUIblkObXWLvMJyQs9qsYb32SwEJOpFGfmTENCaNeQw50l BNGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690421331; x=1691026131; 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=+sHtZsVyoL+xiAIMamuVz3zpq3FJEAxDzJzEOMixgRI=; b=Wt37qFUa25fKDuGsrNOQoHm2k5WcZEjnfajima1KZczxbeHyTpbRoVoNYKJtY/s1ra BxeiGCFej0d1RrQjslSbcUXmI8J48qWz61h2c9Amp1rMQJTUKh4aGlJQGr5WUxgPQv2V ofjSMgvb3q/ztaxiS4uw9HZRccFK3QZU7Z6Q0qm/9mmMFeannOlmR4PLvV/fFqn+rgLs RxVxxH1oOK44bwcREhZ16L3x+UiVNh2bG86UP1G+DaLimdZqOOlmfndA9Ks2UJJ/7TcK 0pI0VkyiwH5ypSpzuZagVbwG5o3G9DWCJdP+sAKwwHvLkxtLAbU/2pAY7BP7XsOLlomG wKDw== X-Gm-Message-State: ABy/qLYK02YB/OQpm5/lwqkTQeK3w6o21sxFD6JCLx08bpGRhrf2Vb// w3OZuZy7KkF1IAnLk+j4Hw8VFKozSDoLZcMt3a70dQ== X-Google-Smtp-Source: APBJJlHKiiAIDAMBt80rjJQbsH455YwDTf0UB6hRd6TdB83wprreVccoHj9B+X9L9cGuGK2El0PeZQ== X-Received: by 2002:ae9:f70a:0:b0:768:1053:b1b3 with SMTP id s10-20020ae9f70a000000b007681053b1b3mr3199450qkg.31.1690421331439; Wed, 26 Jul 2023 18:28:51 -0700 (PDT) Received: from [172.31.0.109] ([136.36.130.248]) by smtp.gmail.com with ESMTPSA id fy16-20020a17090b021000b00267f9bf21ebsm1908226pjb.0.2023.07.26.18.28.50 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Jul 2023 18:28:50 -0700 (PDT) Message-ID: <05f66f09-3e40-a3f3-6d7d-f3ea9073b34f@ventanamicro.com> Date: Wed, 26 Jul 2023 19:28:49 -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" From: Jeff Law Subject: [committed] [RISC-V] Fix expected diagnostic messages in testsuite X-Spam-Status: No, score=-10.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, 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: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" Whoops, this should have gone in with the fixes to the RISC-V diagnostics from earlier this week. Committed to the trunk. Jeff commit 6f709f79c915a1ea82220a44e9f4a144d5eedfd1 Author: Jeff Law Date: Wed Jul 26 19:25:33 2023 -0600 [committed] [RISC-V] Fix expected diagnostic messages in testsuite Whoops, this should have gone in with the fixes to the RISC-V diagnostics from earlier this week. gcc/testsuite * gcc.target/riscv/arch-23.c: Update expected diagnostic messages. * gcc.target/riscv/pr102957.c: Likewise. diff --git a/gcc/testsuite/gcc.target/riscv/arch-23.c b/gcc/testsuite/gcc.target/riscv/arch-23.c index 1cb55889c50..fca5425790c 100644 --- a/gcc/testsuite/gcc.target/riscv/arch-23.c +++ b/gcc/testsuite/gcc.target/riscv/arch-23.c @@ -6,6 +6,6 @@ int foo() /* { dg-error "ISA string is not in canonical order. 'c'" "" { target *-*-* } 0 } */ /* { dg-error "extension 'w' is unsupported standard single letter extension" "" { target *-*-* } 0 } */ -/* { dg-error "extension 'zvl' starts with `z` but is unsupported standard extension" "" { target *-*-* } 0 } */ -/* { dg-error "extension 's123' starts with `s` but is unsupported standard supervisor extension" "" { target *-*-* } 0 } */ -/* { dg-error "extension 'x123' starts with `x` but is unsupported non-standard extension" "" { target *-*-* } 0 } */ +/* { dg-error "extension 'zvl' starts with 'z' but is unsupported standard extension" "" { target *-*-* } 0 } */ +/* { dg-error "extension 's123' starts with 's' but is unsupported standard supervisor extension" "" { target *-*-* } 0 } */ +/* { dg-error "extension 'x123' starts with 'x' but is unsupported non-standard extension" "" { target *-*-* } 0 } */ diff --git a/gcc/testsuite/gcc.target/riscv/pr102957.c b/gcc/testsuite/gcc.target/riscv/pr102957.c index 322d49c62d4..5273ee6c501 100644 --- a/gcc/testsuite/gcc.target/riscv/pr102957.c +++ b/gcc/testsuite/gcc.target/riscv/pr102957.c @@ -4,4 +4,4 @@ int foo() { } -/* { dg-error "extension 'zb' starts with `z` but is unsupported standard extension" "" { target *-*-* } 0 } */ +/* { dg-error "extension 'zb' starts with 'z' but is unsupported standard extension" "" { target *-*-* } 0 } */