From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 82BE33858D35; Wed, 31 Jan 2024 21:25:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 82BE33858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706736301; bh=loISSiuoxi/W9Cfi+j4zcq/DY6uYDWLy1xQcTWKhcNw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hm/uxyCaGOcSIIY5Llp/u5QyqrVyMtnBAoBQh8OrtUp8k+z3u2Mi8zq1F3/ltftTE Gs/iLk9O4ZFV8gurOqLvya1QS9Z3mYaVfGj1Uvu/QXKDA95StHrufjQFzH9sc5DKDi vscxqP3e6/LSulcYh0nSbTgSF1I0U6Ped4Fa4Gu0= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/113692] ICE: in lower_stmt, at gimple-lower-bitint.cc:5444 at -O with _BitInt() in a condition Date: Wed, 31 Jan 2024 21:25:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization 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=3D113692 --- Comment #1 from Andrew Pinski --- My bet you could get the same error with: _BitInt(129) i; void * foo(void) { void *ret =3D 0; ret =3D (void *)(__SIZETYPE__)(i & 1); return ret; }=