From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 86CE738515F3; Thu, 20 Oct 2022 09:18:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 86CE738515F3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666257532; bh=4HQWx5OgyArP6VT4om9PtoZB1qJXq+j2H+64yZAvwUk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gdh5D6kF2GZOhNOe7ifg1pVz8mdtLn7c3B7iQYT1NblQarcUlZu7VLKv+6u2DXCaK h7eh6vSsMaxXBJg37X9H/PDcIAZ6rVYEZyx8iVJraU2a4lVMGI03ePSJcPh8uVkqQK U2XDUO2hGgKyzPvGyrHEv1Rd9tFFAhmtdKI+jLYc= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/107320] ICE in fold_binary_loc, at fold-const.cc:11329 Date: Thu, 20 Oct 2022 09:18:51 +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: 13.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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=3D107320 --- Comment #1 from Richard Biener --- Confirmed, the reason is that isascii folding does 8818 arg =3D fold_build2 (BIT_AND_EXPR, integer_type_node, arg, 8819 build_int_cst (integer_type_node, 8820 ~ (unsigned HOST_WIDE_INT) 0x7f)); with invalid types (because of the invalid input types).=