From patchwork Fri Oct 25 21:09:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam James X-Patchwork-Id: 2002654 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 4XZwRc67WPz1xw0 for ; Sat, 26 Oct 2024 08:10:36 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D44CF3858C35 for ; Fri, 25 Oct 2024 21:10:34 +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 94B6B3858C41 for ; Fri, 25 Oct 2024 21:09:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 94B6B3858C41 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 94B6B3858C41 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=1729890596; cv=none; b=UK8uaEVMoh7wSuvkySqn7meDIvhD5l2r0jtXzHU4KZ4U8Sqavg3WTBj2Ca76zIaNlBOrhXq7T51JJizhzgjDPFupGegwpjp4QdQjBD9UGTzT1SQZ7/IhK8S2SbTMCHySrsuqtXBOWZGn4qIT7KIJDZCdVMKwzPIIoqXZntRpjLI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729890596; c=relaxed/simple; bh=boHwHSuJF/qEdD/OOz2hbreYKRaCEQg4ClbCgHc0dFg=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=OPlpqZ+Vk1UeUh5MhVAKYgfEPk/q2bzTp7zlINXp8IUBvy3ynhHZ0cnVZrk4Fa9mytuQGDyGUkZWP+xuV316pSFfqyo9eVCc76ghvGXwBhdxj8SNyOjpDnGPH0ZM48VREJOgDwQt98g2vyDtrSC9drtsj2jeOk+I3LwcmuCvsso= ARC-Authentication-Results: i=1; server2.sourceware.org From: Sam James To: gcc-patches@gcc.gnu.org Cc: Sam James Subject: [COMMITTED 7/8] testsuite: lto: fix pr62026 test Date: Fri, 25 Oct 2024 22:09:23 +0100 Message-ID: X-Mailer: git-send-email 2.47.0 In-Reply-To: <5c58823d278db14a0670fb09b0c80fa0558d469e.1729890564.git.sam@gentoo.org> References: <5c58823d278db14a0670fb09b0c80fa0558d469e.1729890564.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 This failure was hidden until we started to run the test by fixing the filename earlier: pass -Wno-return-type. gcc/testsuite/ChangeLog: PR lto/62026 * g++.dg/lto/pr62026_0.C: Pass -Wno-return-type. --- gcc/testsuite/g++.dg/lto/pr62026_0.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/lto/pr62026_0.C b/gcc/testsuite/g++.dg/lto/pr62026_0.C index 0432e907f56f..d6445ee9b4d8 100644 --- a/gcc/testsuite/g++.dg/lto/pr62026_0.C +++ b/gcc/testsuite/g++.dg/lto/pr62026_0.C @@ -1,5 +1,5 @@ // { dg-lto-do link } -// { dg-lto-options {{-flto -O3 -r}} } +// { dg-lto-options {{-flto -O3 -r -Wno-return-type}} } class C; class F { virtual C m_fn1();