From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C26253861001; Wed, 24 Apr 2024 03:04:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C26253861001 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713927854; bh=XRbIdayMlcat9Lhe+QxV2WaDEC6/9FygMnSnRtQIRK8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lINVGqRHP0mAOZqshnGTPiCcuD9qSfzoCt5iFgBbdPFxnqdVOscs0D7ZhhP2kLPNp tw+rK7gC+NlPGWrLkj8a5HDHHpjHc/10QugFdlt/uLNXE/z83V1+Jyj6HysWNGxluR 6EkA58h4gB6kZaKCchHuT2vdtvhsWMMA14gaTAGc= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/114723] ICE when checking for type compatibility with structure that contains flexible array member (C23) Date: Wed, 24 Apr 2024 03:04:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: --- 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=3D114723 --- Comment #7 from Andrew Pinski --- (In reply to Halalaluyafail3 from comment #6) > (In reply to Andrew Pinski from comment #4) > > Oh this is with `-g -std=3Dc23`, godbolt has an implicit -g. >=20 > I was not aware of this, thanks for letting me know. Do you know of any w= ay > to disable it? Also it does seem to be quite related, so it is probably t= he > same bug which caused an ICE here (though the context of that test case > would require the types be the same so it's a little bit different). To disable -g, you can add `-g0` .=