From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4AC64385840B; Mon, 11 Mar 2024 20:48:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4AC64385840B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710190082; bh=OSETwWMZIG7+0qGPq4S7Yx6JXr6zheZHwnU8AlI88HY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hPPyVDVM8sphQMuQJ33dAWZIQUCwYwOJqypCt8wMsXaoScOk3m+P7SmZNEZo/zSAN JFIYwuvr25sU2eoTLMBqw8z/b+EJQwn1YyygRG/BWsbK3pOIrSnJnXphKnHFfja3HN Fq/ktuARpOSW1hCHSnH/4+NHS3fzkmQUA3ZaoZlA= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/114313] ICE: in limb_access_type, at gimple-lower-bitint.cc:591 with _BitInt() in a bitfield Date: Mon, 11 Mar 2024 20:48:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end 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: NEW 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: bug_status cf_reconfirmed_on component everconfirmed 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=3D114313 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2024-03-11 Component|tree-optimization |middle-end Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski --- Confirmed. Easier testcase: ``` #define size 129 struct { _BitInt(size) a : size; _BitInt(size) b : size; } bf; int foo (void) { return bf.b; } ``` Note changing the bitfield size down to below 128 allows the above not to I= CE.=