From patchwork Thu Sep 26 08:26:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam James X-Patchwork-Id: 1989715 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=patchwork.ozlabs.org) 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 (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XDmth44tfz1xt6 for ; Thu, 26 Sep 2024 18:27:40 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 65360385C6C3 for ; Thu, 26 Sep 2024 08:27:38 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 59F3F3858C66; Thu, 26 Sep 2024 08:26:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 59F3F3858C66 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 59F3F3858C66 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=140.211.166.183 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727339216; cv=none; b=qhdTvRSHvZhmfzVdc9s9qw1NZTQlD8CTlUgWO/jfhvDL+3z4z4KTRKXusXDjKbTv7hASh+n1TsMncEoH7nIx2k4+4MMjwC6ZTJaWzI6i0onydSnoBsJpgoe3YYiiIwlZoQjhQVhUPA3MTUevD5KKuuKOfSaa1AsbKjm6GVDgWvA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727339216; c=relaxed/simple; bh=zD922HDpPH9EVC/EInQxiKkYgnMTgQ67nxl+4b7vK+A=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=SPMvXTD/oGmV43nB9NZh0+AJnsF2NDat7B4cRYRDqxQquJ8EEBAS+t+2FPR5EpyaElZBy9ButtVyrEFF0pkfeKeHWIjtKwudU8iYRIbC0gvxvLo3RNhDDA8dtg7O48mDbWTBlWjLTZv/Z5yxgl21nI71OXCajUhDCaoJE/u3d4M= ARC-Authentication-Results: i=1; server2.sourceware.org From: Sam James To: gcc-patches@gcc.gnu.org Cc: fortran@gcc.gnu.org, Sam James Subject: [COMMITTED 2/2] testsuite: fix hyphen typos Date: Thu, 26 Sep 2024 09:26:34 +0100 Message-ID: <758c65d4e3efb8208cdd44e1e41d7728defe1747.1727339194.git.sam@gentoo.org> X-Mailer: git-send-email 2.46.2 In-Reply-To: <07d42b9a4157b1ee874d1131072c0748ff02a212.1727339194.git.sam@gentoo.org> References: <07d42b9a4157b1ee874d1131072c0748ff02a212.1727339194.git.sam@gentoo.org> MIME-Version: 1.0 X-Spam-Status: No, score=-10.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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.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 gcc/testsuite/ChangeLog: * g++.dg/modules/reparent-1_c.C: Fix whitespace around '-' in dg directive. * gfortran.dg/initialization_25.f90: Ditto. --- Committed as obvious. gcc/testsuite/g++.dg/modules/reparent-1_c.C | 2 +- gcc/testsuite/gfortran.dg/initialization_25.f90 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/g++.dg/modules/reparent-1_c.C b/gcc/testsuite/g++.dg/modules/reparent-1_c.C index e4e984c87a9d..d3f7f51e335b 100644 --- a/gcc/testsuite/g++.dg/modules/reparent-1_c.C +++ b/gcc/testsuite/g++.dg/modules/reparent-1_c.C @@ -6,4 +6,4 @@ int main () v (0); // { dg-error "too many arguments" } } -// { dg -regexp {In module foo, imported at [^\n]*/reparent-1_b.C:14,\nof module bar, imported at [^\n]*/reparent-1_c.C:2:\n[^\n]*/reparent-1_a.C:6:13: note: declared here\n} } +// { dg-regexp {In module foo, imported at [^\n]*/reparent-1_b.C:14,\nof module bar, imported at [^\n]*/reparent-1_c.C:2:\n[^\n]*/reparent-1_a.C:6:13: note: declared here\n} } diff --git a/gcc/testsuite/gfortran.dg/initialization_25.f90 b/gcc/testsuite/gfortran.dg/initialization_25.f90 index 66c447e2f1cb..c8edb163be04 100644 --- a/gcc/testsuite/gfortran.dg/initialization_25.f90 +++ b/gcc/testsuite/gfortran.dg/initialization_25.f90 @@ -1,12 +1,12 @@ ! { dg-do compile } ! ! PR fortran/35779 - unrelated error message -! Tescase contributed by +! Testcase contributed by ! Dick Hendrickson ! ! Initial patch was reverted as it broke nested loops (see initialization_26.f90). ! ! INTEGER :: J1 -! INTEGER,PARAMETER :: I2(10) = (/(J1,J1=its_bad,1,-1)/) ! { dg - error "does not reduce" } +! INTEGER,PARAMETER :: I2(10) = (/(J1,J1=its_bad,1,-1)/) ! { dg-error "does not reduce" } END