From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 488B13858C20; Fri, 8 Dec 2023 15:34:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 488B13858C20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1702049699; bh=jMuPv/I/oUvVeDCp+G1XdLSYCOYu2T7XP6C3FNUEAqU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=a89576FWueaCIbcu9bDqLvuTBAIO6FPdrCmkEsR1uelSCBhl/1KO/tsUFfgQMJsv8 wsPFQT28p8UsbxK1A0P0APUzY9DpRPHW8DQ4lcjAlc7fmVDsKkbGx7WPyCIkeQwFmO 7ZjzE6fSwk+TrGD8K0rriyxKuLlcIWq2d+iaSCVQ= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/112887] during GIMPLE pass: phiopt ICE: Floating point exception (SIGFPE) at tree-ssa-phiopt.c:2224 with --param=l1-cache-line-size=0x20000000 Date: Fri, 08 Dec 2023 15:34:58 +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: cc attachments.created 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=3D112887 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- Created attachment 56835 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56835&action=3Dedit gcc14-pr112887.patch The function uses tree_fits_uhwi_p and then just blindly sets int vars to tree_to_uhwi. I think we just should use unsigned HOST_WIDE_INT types everywhere, that fi= xes the ICE too.=