From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BEC36158042 for ; Mon, 21 Oct 2024 09:32:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C17DCE0909; Mon, 21 Oct 2024 09:32:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A8E3CE0909 for ; Mon, 21 Oct 2024 09:32:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ADEBB342FF8 for ; Mon, 21 Oct 2024 09:32:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 007EAAE7 for ; Mon, 21 Oct 2024 09:32:33 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1729503118.72d5ea56d41b7d5aac351854b7479f5c2c430c83.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/toolchain.eclass X-VCS-Directories: eclass/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 72d5ea56d41b7d5aac351854b7479f5c2c430c83 X-VCS-Branch: master Date: Mon, 21 Oct 2024 09:32:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9bb420f6-2072-4ef8-9a5e-4435b4a477a6 X-Archives-Hash: 5ab874b0a6bf031ff55cdd0a3da3ef50 commit: 72d5ea56d41b7d5aac351854b7479f5c2c430c83 Author: Sam James gentoo org> AuthorDate: Mon Oct 21 09:31:40 2024 +0000 Commit: Sam James gentoo org> CommitDate: Mon Oct 21 09:31:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72d5ea56 toolchain.eclass: filter -fdiagnostics-explain-harder This is an experimental flag not yet merged upstream but filtering it makes it easier to test with so it doesn't confuse older unpatched (locally) GCCs. Signed-off-by: Sam James gentoo.org> eclass/toolchain.eclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 6bad1def19f4..dd4130ef9b85 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1944,6 +1944,10 @@ gcc_do_filter_flags() { filter-flags -Walloc-size fi + if ver_test -lt 15.1 ; then + filter-flags -fdiagnostics-explain-harder + fi + # Please use USE=lto instead (bug #906007). filter-lto