From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 642393858C32; Thu, 4 Apr 2024 13:21:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 642393858C32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712236871; bh=oeXueXJwO1VlFDuppzH/xQj17HHtjWH5dV0vicKATuU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Tkno15aZCXlna1BBh0StMpwu3XkDepdwQB5jVd6Boz/WtdGBh5hh7e4u09lmSyTBy LsFQpgTaj6zR/wiec6S2rwBTIpXGR1Z5Zzt626J7Ehzyx7CR0rv6ZAHXxyr3aMNdwc RFUhYKlQ4a71j/ZY6p7+8aB98amvQnF4U9lwlxlY= From: "muecker at gwdg dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/114574] [14 regression] ICE when building curl with LTO (fld_incomplete_type_of, at ipa-free-lang-data.cc:257) since r14-9763 Date: Thu, 04 Apr 2024 13:21:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: muecker at gwdg dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114574 --- Comment #15 from Martin Uecker --- Created attachment 57874 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57874&action=3Dedit patch Tentative patch for the fix that makes the incomplete types have structural equivalence at the beginning and then sets TYPE_CANONICAL when they are completed. There is some fallout when one removes the flag_isoc23 condition which I need to look into...=20=20 Assuming this approach is ok, then I think this change should be done also = for pre-C23 in the future.=