From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3F0043858D37; Wed, 21 Jun 2023 13:50:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3F0043858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687355407; bh=GLx0u1M/DFXNsjeH3AXSNzwTdczoXRvejae7iHmXE14=; h=From:To:Subject:Date:In-Reply-To:References:From; b=L4GowmGnaVf9fmRYWFxxArJ5u+NYrR1YrYyrvktBcRfEcixiH+fu4S1XJkGqQRg8d i2ECTAgccE4BRnUrdF4/qVz4/7APzFI+/tNqbWt6RwcyERQoV3ypocYy0QfunTzeHF Zu/tpAkj/JlWe9iHBR22z+YpnIsDCtM5RG2V76gc= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110243] [13/14 Regression] Wrong code at -O3 on x86_64-linux-gnu Date: Wed, 21 Jun 2023 13:50:06 +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: needs-bisection, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.2 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=3D110243 --- Comment #4 from Richard Biener --- There's now a single strip_offset left in IVOPTs, the problematic one. That one isn't trivial to convert to split_constant_offset since that only deals with pointer or sizetype quantities in a way that's reasonable for this place. There's the opportunity to generalize split_constant_offset to work on other (unsigned) "base" types. I think that's the most reasonable thing to do.=