From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A39CA384AB7C; Fri, 19 Apr 2024 08:35:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A39CA384AB7C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713515754; bh=Qe+bbMffv1uizaqbhCglvWIo4QxyU3/T3pUo2Nc3084=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ujy8CklC0A89lFY+SeQUkAx96esaJCngXPOLvuiHhJyvnU94/VDAtbk/DAGb0ZCVI +EsMuKOpkHlKPB6kpw9GPKUo+pnCrFhjXiqvANwSIJFGDcLj2E0DLkQ442Pz/wS0bd YM076fHGeQNjDmirC2t2AEZ1PpdOcC5GWOjfxceI= From: "pinskia 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: Fri, 19 Apr 2024 08:35:54 +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: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 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 #33 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #32) > Ah, but get_alias_set has quite special handling of pointers, it finds the > ultimately pointed type and uses TYPE_MAIN_VARIANT for it, so it actually > ignores TYPE_CANONICAL of the pointer type itself for TYPE_ALIAS_SET > decisions. Yes because you need to ignore all the qualifiers on the pointed to types. Otherwise you end up with `const int*const*` and `int**` have not the same aliasing set.=