From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6F5EC3857836; Fri, 16 Feb 2024 21:24:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6F5EC3857836 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708118696; bh=8qO1jnqez11QoRAL1QEaIKxTB4oXskPIe0wSs/XXUik=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bEpfUBz35KCeajnXtmbxbkOfYqp3SJ+jNFrrc7x2vOMfwY+f4WvQbWeQPBpFppkYL w3d6swqcC3TO5wbIyiHCsVugho47xFh5ShzmBEq1cNiU8PHqGe/FV1zxcCWU+kdJt+ AbRkULZ60L6abZx1bPFClSV62HcEoQ/R9QgzELMc= From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/109802] [13 Regression] ICE using dubious flexible arrays in unions Date: Fri, 16 Feb 2024 21:24:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 13.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status everconfirmed cf_reconfirmed_on short_desc 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=3D109802 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2024-02-16 Summary|[regression] during IPA |[13 Regression] ICE using |pass: analyzer: internal |dubious flexible arrays in |compiler error (using |unions |dubious flexible arrays in | |unions) | --- Comment #5 from David Malcolm --- Thanks for filing this bug report. (In reply to Alejandro Colomar from comment #2) > Here's a simplified version that will cause the same internal compiler er= ror. Trunk (GCC 14): ok: https://godbolt.org/z/4cjf6Khh3 GCC 13.2: ICE: https://godbolt.org/z/K4j97a4eb GCC 12.3: ok: https://godbolt.org/z/1jfz8YTPj ...so it seems like this is fixed on trunk (for GCC 14) but still affects G= CC 13.=