From patchwork Fri Sep 20 05:10:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam James X-Patchwork-Id: 1987636 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 4X90qC5gd5z1y1t for ; Fri, 20 Sep 2024 15:11:35 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 08A9B3858C5F for ; Fri, 20 Sep 2024 05:11:34 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 3FFC13858C33 for ; Fri, 20 Sep 2024 05:11:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3FFC13858C33 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 3FFC13858C33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:ea4a:1:5054:ff:fec7:86e4 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1726809070; cv=none; b=Xw25G92O5DNMlOt5mZmjtMjCsaLcVgPmmRWF0L9kSGigPwKnO+dByXz/V84zF/zGrIDi0w0BCnpiSvxJmQSMCF/L/oZp8L/puGwHx3ZXv+LJS/6dHiIeXZceBk36tOiXY/QKpvTjTkMzTxhHnYudEJ7aYn/2SfnSW0qsu7tV8s0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1726809070; c=relaxed/simple; bh=AGBHPz33smjDVI2kv6Q9Z+9ZPO2ZMEDfEPHr5vvj+Js=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=NBa+IBXi7W9yCEo8r+Rvb37oriIigLZJl/Xe8efqNwbB59CN3rKU3pKSaIo8nSNx0xWVTXYCMy6nzqtHwqZ1M2wMBoqW/KwZtz78VZ0gClMGFt3yhF7QVB3FstvQdsCPYURaKqMr3gUdK9EkIO2Htv3GWzVckkYPcQJeIXx8uo8= ARC-Authentication-Results: i=1; server2.sourceware.org From: Sam James To: gcc-patches@gcc.gnu.org Cc: Sam James Subject: [COMMITTED] testsuite: fix 'do-do' typos Date: Fri, 20 Sep 2024 06:10:49 +0100 Message-ID: <9964813217c11bf2ba2f2747397e6a65024229f3.1726809049.git.sam@gentoo.org> X-Mailer: git-send-email 2.46.0 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, 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 Fix 'do-do' typos (should be 'dg-do'). No change in logs. gcc/testsuite/ChangeLog: * g++.dg/other/operator2.C: Fix dg-do directive. * gcc.dg/Warray-bounds-67.c: Ditto. * gcc.dg/cpp/builtin-macro-1.c: Ditto. * gcc.dg/tree-ssa/builtin-snprintf-3.c: Ditto. * obj-c++.dg/empty-private-1.mm: Ditto. --- Pushed as obvious. gcc/testsuite/g++.dg/other/operator2.C | 2 +- gcc/testsuite/gcc.dg/Warray-bounds-67.c | 2 +- gcc/testsuite/gcc.dg/cpp/builtin-macro-1.c | 2 +- gcc/testsuite/gcc.dg/tree-ssa/builtin-snprintf-3.c | 8 ++++---- gcc/testsuite/obj-c++.dg/empty-private-1.mm | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gcc/testsuite/g++.dg/other/operator2.C b/gcc/testsuite/g++.dg/other/operator2.C index 358731127186..cd477a64c3f9 100644 --- a/gcc/testsuite/g++.dg/other/operator2.C +++ b/gcc/testsuite/g++.dg/other/operator2.C @@ -1,5 +1,5 @@ // PR c++/28852 -// { do-do compile } +// { dg-do compile } struct A { diff --git a/gcc/testsuite/gcc.dg/Warray-bounds-67.c b/gcc/testsuite/gcc.dg/Warray-bounds-67.c index a9b9ff7d2ab2..354fb89467e3 100644 --- a/gcc/testsuite/gcc.dg/Warray-bounds-67.c +++ b/gcc/testsuite/gcc.dg/Warray-bounds-67.c @@ -2,7 +2,7 @@ of a struct that's a member of either a struct or a union. Both are obviously undefined but GCC relies on these hacks so the test verifies that -Warray-bounds doesn't trigger for it. - { do-do compile } + { dg-do compile } { dg-options "-O2 -Wall" } */ diff --git a/gcc/testsuite/gcc.dg/cpp/builtin-macro-1.c b/gcc/testsuite/gcc.dg/cpp/builtin-macro-1.c index 0f950038d1bd..6fc3c2602785 100644 --- a/gcc/testsuite/gcc.dg/cpp/builtin-macro-1.c +++ b/gcc/testsuite/gcc.dg/cpp/builtin-macro-1.c @@ -5,7 +5,7 @@ the function-like macro expansion it's part of. { dg-do run } - { do-options -no-integrated-cpp } */ + { dg-options -no-integrated-cpp } */ #include diff --git a/gcc/testsuite/gcc.dg/tree-ssa/builtin-snprintf-3.c b/gcc/testsuite/gcc.dg/tree-ssa/builtin-snprintf-3.c index e481955ab732..00ea752c1974 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/builtin-snprintf-3.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/builtin-snprintf-3.c @@ -1,6 +1,6 @@ /* Verify the lower and upper bounds of floating directives with precision whose range crosses zero. - { do-do compile } + { dg-do compile } { dg-options "-O2 -Wall -fdump-tree-optimized" } */ static const double x = 1.23456789; @@ -72,6 +72,6 @@ int test_g (int p) return n; } -/* { dg-final { scan-tree-dump-times "snprintf" 4 "optimized"} } - { dg-final { scan-tree-dump-not "failure_range" "optimized"} } - { dg-final { scan-tree-dump-times "verify_" 8 "optimized"} } */ +/* { dg-final { scan-tree-dump-times "snprintf" 4 "optimized" } } + { dg-final { scan-tree-dump-not "failure_range" "optimized" } } + { dg-final { scan-tree-dump-times "verify_" 8 "optimized" } } */ diff --git a/gcc/testsuite/obj-c++.dg/empty-private-1.mm b/gcc/testsuite/obj-c++.dg/empty-private-1.mm index b8b90b07ecda..0bbec921b8ec 100644 --- a/gcc/testsuite/obj-c++.dg/empty-private-1.mm +++ b/gcc/testsuite/obj-c++.dg/empty-private-1.mm @@ -1,6 +1,6 @@ /* Test for no entry after @private token. */ -/* { do-do compile } */ +/* { dg-do compile } */ @interface foo {