From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 505D33858D34; Thu, 4 Apr 2024 07:07:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 505D33858D34 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712214464; bh=QZv4oMm0ij77RXA6CaU27NRJ+MDmAkQXNYYSrg6IBG8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MwAZ/Zf01BcBKQe/I8y6YPXplJF49hk2KB5RLsFHyG9uc4p95FEkSxXd7SEZWlokH 2la+k85y8j58ZSkCAVkr6O0VgvTghnd7mEpye4yw+nClCbpuwH7OoD7BTgW5m0y3Tp b6QRPuP55D60Py7aMzlST4mn23+hjRVQjPuwwNZY= From: "uecker at gcc dot gnu.org" 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 07:07:43 +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: X-Bugzilla-Severity: normal X-Bugzilla-Who: uecker at gcc dot gnu.org 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: 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 #10 from uecker at gcc dot gnu.org --- Yes, this makes sense. I will try this. (I tried this approach already but I did not get this work, probably because something I missed).=20 Otherwise one could try setting TYPE_CANONICAL only based on the tag, which would then never need to change, but this would lose a lot of information.= =20 What consequences does it have to have the wrong TYPE_CANONICAL on pointers= ? I am asking because the current behavior also seems wrong because now TYPE_CANONICAL for complete and incomplete types may turn out to be differe= nt. Or am I missing something?=