From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ED9DC3858D1E; Tue, 21 May 2024 08:50:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ED9DC3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1716281408; bh=jBFgK57luyl8BV/Ko+Cn9dqToYPkMYyqW1zRLGhk0gE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wx7VNYzrnK2OfZC4shGdIT/NGts/JVPz2eS02ZYNOgN1LJD51EC4K6ksu8FNL/boL xRzMxzHx1CZNt+JAAO8KinMr3NCP1pTU27CVKx2lhek9xqsEyM44hnUuJ712R3Zbxs ECUlEXaCQZ/ZMZQ/kzcXqnXxgop8MXYHSRpQz6ic= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/114930] [14/15 regression] ICE in fld_incomplete_type_of when building libwebp with -std=c23 -flto Date: Tue, 21 May 2024 08:50:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D114930 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #6 from Richard Biener --- Likely an issue in fld_incomplete_type_of with how C23 lays out types and/or how we set up their canonical types. What we try to do for LTO is to turn pointer types to pointer types to pointer to "incomplete" type variant= s, thus for arrays to [] and for structs to structs with no fields. Somebody needs to see how it goes wrong, the assert makes sense and is requ= ired for correctness.=