From patchwork Fri Oct 25 22:06:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam James X-Patchwork-Id: 2002670 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 4XZxjt1TZCz1xwF for ; Sat, 26 Oct 2024 09:08:02 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2B1463858C33 for ; Fri, 25 Oct 2024 22:08:00 +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 202E53858D35 for ; Fri, 25 Oct 2024 22:07:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 202E53858D35 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 202E53858D35 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=1729894053; cv=none; b=eLOQ1VMGUWzAFVzGz/n8Is+BGgNQqmAOJm+PQh1GUKvFjzQA7/nD0NbSbqdWRjGyVnh3xlx0AuXdfqppvrIeF4+AEdvrZL4+MlPHOZnFdYBETmXUnzdti6EyxnKVuzI3wT1Bvww9z1SHYUbzDkdPkG9sK56RMVyehBZ0Hlym7cA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729894053; c=relaxed/simple; bh=vfOwCAVu/SCuuFaXGp5V9wEHwD+YwNiHlLolfXAYzho=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=A5j1+24oDtTpRYMs9n+DS2b3e5njyHBLWyFZ3ilR7CshvCfkordqONZITebLxlKyxpULyqlpswea7Wugb5LNvNURAvymH6fSU2qqPoc3JBs6pIkNgUXB0E7IBtur0EcndF9Nvw6Jm9f6ezVyb3JrGmYzg6S/7Lz4jdF27+BKJSU= ARC-Authentication-Results: i=1; server2.sourceware.org From: Sam James To: gcc-patches@gcc.gnu.org Cc: Sam James Subject: [PATCH 3/3] testsuite: move single-file LTO pr47333 test to torture Date: Fri, 25 Oct 2024 23:06:04 +0100 Message-ID: <07ef1f3a6c760333a1e2ba8f33aeeb9c50d7a2ac.1729893964.git.sam@gentoo.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: References: 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 This only started being used recently in r15-4683-g04e0fbbc34e101 and pinskia pointed out we may as well make it a proper torture test instead as it's a single file LTO test. gcc/testsuite/ChangeLog: PR target/47333 * g++.dg/lto/pr47333_0.C: Move to... * g++.dg/torture/pr47333.C: ...here. --- gcc/testsuite/g++.dg/{lto/pr47333_0.C => torture/pr47333.C} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename gcc/testsuite/g++.dg/{lto/pr47333_0.C => torture/pr47333.C} (99%) diff --git a/gcc/testsuite/g++.dg/lto/pr47333_0.C b/gcc/testsuite/g++.dg/torture/pr47333.C similarity index 99% rename from gcc/testsuite/g++.dg/lto/pr47333_0.C rename to gcc/testsuite/g++.dg/torture/pr47333.C index b171c8cb960..361bd8eac21 100644 --- a/gcc/testsuite/g++.dg/lto/pr47333_0.C +++ b/gcc/testsuite/g++.dg/torture/pr47333.C @@ -1,5 +1,4 @@ -/* "WARNING: lto.exp does not support dg-additional-options" */ -#pragma GCC diagnostic ignored "-Wtemplate-body" +// { dg-additional-options "-Wno-template-body" } namespace std {