From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 056103858C54; Thu, 30 Mar 2023 07:28:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 056103858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680161287; bh=8CrHWLp+tL2e4BYhl4dptjffBrjMdd4PdRHQ37puNmY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=e2gL0Z1l8u2ZzffZdAqiaKzyN1yPbYnjsrvNR+wlL7Qk4CvOWzDixXbHzAY6yCJgR CfwIkkq9Mbd0/EFdvQ31dMdVsVCmEkm4XZNzAdmhFX/WZ4r0w8mABGUADvDWpmpkkp KW3sfpAwP+cpZx+BXoT4+Gy4P96Yj20U81tGGUc0= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/109303] [13 Regression] ICE in push_agg_values_from_plats, at ipa-cp.cc:1458 since r13-3358-ge0403e95689af7d5 Date: Thu, 30 Mar 2023 07:28:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 13.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 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=3D109303 --- Comment #7 from Jakub Jelinek --- BTW, I think I got that offset >=3D (HOST_WIDE_INT) UINT_MAX * BITS_PER_UNIT wrong last time, if offset is equal to that, it is still representable (as UINT_MAX). So perhaps either offset > (HOST_WIDE_INT) UINT_MAX * BITS_PER_UNIT or >=3D (UINT_MAX + HOST_WIDE_INT_1) * BITS_PER_UNIT, depending on whether we = expect the divisions to be exact or truncating. On the other side, if it is just = an optimization, who cares...=