From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CF192386483A; Fri, 15 Dec 2023 12:33:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CF192386483A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1702643613; bh=vUxxd1c89qOk637koBCs9jCYEhCsu45NzDDfJmyENaY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=asj97AHzkTQPmEf8X9hzTP2LL+FlWDT/QdjEq5rj9Hdb7hDyLSm0cDgILXgPe0jUU 9PMe5mB9TEc06dnrwpAVk5J6uX0q5RpbNDQUKeyNQUD4IV8gIFsagj1blWOSrpDpDa 6KHBv6j1OD0VxKOKisdYvSOpSfJpQNqXJrjgbIF8= 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 12:33:33 +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 #6 from Jakub Jelinek --- And another testcase which ICEs: unsigned _BitInt(495) f1 (signed _BitInt(381) x) { unsigned _BitInt(539) y = =3D x; return y; } unsigned _BitInt(495) f2 (unsigned _BitInt(381) x) { unsigned _BitInt(539) = y =3D x; return y; } unsigned _BitInt(495) f3 (signed _BitInt(381) x) { _BitInt(539) y =3D x; re= turn y; } unsigned _BitInt(495) f4 (unsigned _BitInt(381) x) { _BitInt(539) y =3D x; = return y; } _BitInt(495) f5 (signed _BitInt(381) x) { unsigned _BitInt(539) y =3D x; re= turn y; } _BitInt(495) f6 (unsigned _BitInt(381) x) { unsigned _BitInt(539) y =3D x; = return y; } _BitInt(495) f7 (signed _BitInt(381) x) { _BitInt(539) y =3D x; return y; } _BitInt(495) f8 (unsigned _BitInt(381) x) { _BitInt(539) y =3D x; return y;= } unsigned _BitInt(495) f9 (signed _BitInt(381) x) { return (unsigned _BitInt(539)) x; } unsigned _BitInt(495) f10 (unsigned _BitInt(381) x) { return (unsigned _BitInt(539)) x; } unsigned _BitInt(495) f11 (signed _BitInt(381) x) { return (_BitInt(539)) x= ; } unsigned _BitInt(495) f12 (unsigned _BitInt(381) x) { return (_BitInt(539))= x; } _BitInt(495) f13 (signed _BitInt(381) x) { return (unsigned _BitInt(539)) x= ; } _BitInt(495) f14 (unsigned _BitInt(381) x) { return (unsigned _BitInt(539))= x; } _BitInt(495) f15 (signed _BitInt(381) x) { return (_BitInt(539)) x; } _BitInt(495) f16 (unsigned _BitInt(381) x) { return (_BitInt(539)) x; }=