From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1566435-garchives=archives.gentoo.org@lists.gentoo.org>
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 (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id ADF0E158089
	for <garchives@archives.gentoo.org>; Sat, 28 Oct 2023 19:38:45 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id EC6812BC04E;
	Sat, 28 Oct 2023 19:38:44 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 9BC502BC04D
	for <gentoo-commits@lists.gentoo.org>; Sat, 28 Oct 2023 19:38:44 +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 60E6D335C2E
	for <gentoo-commits@lists.gentoo.org>; Sat, 28 Oct 2023 19:38:43 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8422CE49
	for <gentoo-commits@lists.gentoo.org>; Sat, 28 Oct 2023 19:38:41 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1698521858.b465fdbfa7432627d207a6305b63cac882120c86.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/lcdf-typetools/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-text/lcdf-typetools/lcdf-typetools-2.108-r1.ebuild
X-VCS-Directories: app-text/lcdf-typetools/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: b465fdbfa7432627d207a6305b63cac882120c86
X-VCS-Branch: master
Date: Sat, 28 Oct 2023 19:38:41 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 6a866116-4f8b-4a05-8f2b-acd94fedcfa4
X-Archives-Hash: b09da2afe28824236e8e31130c86bb8a

commit:     b465fdbfa7432627d207a6305b63cac882120c86
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 28 07:07:38 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 28 19:37:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b465fdbf

app-text/lcdf-typetools: avoid known GCC ICE with -fdevirtualize-at-ltrans

Bug: https://gcc.gnu.org/PR100010
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/lcdf-typetools/lcdf-typetools-2.108-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-text/lcdf-typetools/lcdf-typetools-2.108-r1.ebuild b/app-text/lcdf-typetools/lcdf-typetools-2.108-r1.ebuild
index aa9f0d5ab6c7..bdf2d563b39f 100644
--- a/app-text/lcdf-typetools/lcdf-typetools-2.108-r1.ebuild
+++ b/app-text/lcdf-typetools/lcdf-typetools-2.108-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -19,6 +19,9 @@ DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
 src_configure() {
+	# gcc ICE with LTO: https://gcc.gnu.org/PR100010
+	filter-flags -fdevirtualize-at-ltrans
+
 	use kpathsea && has_version 'dev-libs/kpathsea' && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)"
 	econf $(use_with kpathsea)
 }