From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DB3723861869; Fri, 15 Dec 2023 10:19:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DB3723861869 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1702635564; bh=HgT4Qyx9MrQfphSYOMCxEos9I5cT8ulo4av769hxfDM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jozr7heiIMxYkGDmHitAS0s2LAf7t7qbVqNzXo3yiRiXYf32RCbeFyS9Jq27jsut+ AIL3A8q2I3GW70kSxtLRM5uLZOyVnOb3I3wNnMcIBQbGI53UuXb9SxNBj6GQ46HbbG JjBjCR1c5BoI6WsEGn1SCivENJ5kbK/za05dVXks= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/112941] during GIMPLE pass: bitintlower ICE: in handle_operand_addr, at gimple-lower-bitint.cc:2126 (gimple-lower-bitint.cc:2134) at -O with _BitInt() Date: Fri, 15 Dec 2023 10:19:24 +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: jakub 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: 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=3D112941 --- Comment #4 from Jakub Jelinek --- And after the PR113024 changes, one needs -O1 -fno-tree-forwprop on: unsigned _BitInt(2049) foo (unsigned _BitInt(6384) x, _BitInt(8) y) { unsigned _BitInt(6384) z =3D y; return x * z; } _BitInt(2049) bar (unsigned _BitInt(6384) x, _BitInt(1023) y) { unsigned _BitInt(6384) z =3D y; return x * z; } to reproduce it.=