From patchwork Thu Sep 26 08:26:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam James X-Patchwork-Id: 1989714 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=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 4XDmtM1MdMz1xt6 for ; Thu, 26 Sep 2024 18:27:21 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E879B385DDCE for ; Thu, 26 Sep 2024 08:27:18 +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 56D263858D29; Thu, 26 Sep 2024 08:26:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 56D263858D29 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 56D263858D29 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=wwoCPjaVU4JDVRCMpa+pOieCljIeTYU/ia8Jt2XMH+laaQ5c73dCqOusfvMGSdGqAGBH3Fh/an2m8VyoGPM10eUUmZFpGJ7PW7wXMtPda6nBDgQ7ad97M87+oCthdiFoQ/VkIGed3pqkEX/0bzhWPU60zofdh4v+NyJVGD77VEY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727339216; c=relaxed/simple; bh=iAhBS6JD7Zi7D77nFFBzv+VZ6IIaKtTnV0XYn85C7vU=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=Zmyq7HpaskU33uc9LwTizdOBs8oAqClxwnIVITQ0TA3FTiKYoC/1hOyMxKB0oU99Lw8JaRuKskQIkB6s61Fz8V5Rg5dP7TKjKFOqDp0ZVP5Jlfggmweu9AV/vgGbsp3lbEl8YzemM/6oa4/1d1DDMWJOMmMpgLsN594SQsaip0s= 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 1/2] testsuite: fix comment-only directive typos Date: Thu, 26 Sep 2024 09:26:33 +0100 Message-ID: <07d42b9a4157b1ee874d1131072c0748ff02a212.1727339194.git.sam@gentoo.org> X-Mailer: git-send-email 2.46.2 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 Doing this to avoid FPs from grepping but also to avoid the potential for people learning bad habits. gcc/testsuite/ChangeLog: * gfortran.dg/coarray/caf.exp: Fix 'dg-do-run' typo. * lib/gfortran-dg.exp: Ditto. * lib/gm2-dg.exp: Ditto. * lib/go-dg.exp: Ditto. --- Committed as obvious. gcc/testsuite/gfortran.dg/coarray/caf.exp | 2 +- gcc/testsuite/lib/gfortran-dg.exp | 2 +- gcc/testsuite/lib/gm2-dg.exp | 2 +- gcc/testsuite/lib/go-dg.exp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/gfortran.dg/coarray/caf.exp b/gcc/testsuite/gfortran.dg/coarray/caf.exp index 31c13cd34e5e..9e608ecf83d0 100644 --- a/gcc/testsuite/gfortran.dg/coarray/caf.exp +++ b/gcc/testsuite/gfortran.dg/coarray/caf.exp @@ -78,7 +78,7 @@ foreach test [lsort [glob -nocomplain $srcdir/$subdir/*.\[fF\]{,90,95,03,08} ]] } # Enable if you want to test several options: -# # look if this is dg-do-run test, in which case +# # look if this is dg-do run test, in which case # # we cycle through the option list, otherwise we don't # if [expr [search_for $test "dg-do run"]] { # set option_list $torture_with_loops diff --git a/gcc/testsuite/lib/gfortran-dg.exp b/gcc/testsuite/lib/gfortran-dg.exp index fcba95dc3961..0c578b52684d 100644 --- a/gcc/testsuite/lib/gfortran-dg.exp +++ b/gcc/testsuite/lib/gfortran-dg.exp @@ -146,7 +146,7 @@ proc gfortran-dg-runtest { testcases flags default-extra-flags } { continue } - # look if this is dg-do-run test, in which case + # look if this is dg-do run test, in which case # we cycle through the option list, otherwise we don't if [expr [search_for $test "dg-do run"]] { set option_list $torture_with_loops diff --git a/gcc/testsuite/lib/gm2-dg.exp b/gcc/testsuite/lib/gm2-dg.exp index 7230143f80e8..0fa26846df84 100644 --- a/gcc/testsuite/lib/gm2-dg.exp +++ b/gcc/testsuite/lib/gm2-dg.exp @@ -59,7 +59,7 @@ proc gm2-dg-runtest { testcases flags default-extra-flags } { continue } - # look if this is dg-do-run test, in which case + # look if this is dg-do run test, in which case # we cycle through the option list, otherwise we don't if [expr [search_for $test "dg-do run"]] { set option_list $TORTURE_OPTIONS diff --git a/gcc/testsuite/lib/go-dg.exp b/gcc/testsuite/lib/go-dg.exp index d22835066252..bbc70a2301fd 100644 --- a/gcc/testsuite/lib/go-dg.exp +++ b/gcc/testsuite/lib/go-dg.exp @@ -47,7 +47,7 @@ proc go-dg-runtest { testcases flags default-extra-flags } { continue } - # look if this is dg-do-run test, in which case + # look if this is dg-do run test, in which case # we cycle through the option list, otherwise we don't if [expr [search_for $test "dg-do run"]] { set option_list $TORTURE_OPTIONS 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