From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1DCA53857C5C; Thu, 11 Jan 2024 21:23:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1DCA53857C5C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705008189; bh=B7HPVtom54dJzHbzYlLqrobqPFEuT1UbVs8fwNOiys8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uT4AoUrXqhJIsLp4JTL12VptsyOp7/0k65ny7UZOww/gFd0SbdD/kGYROSq97yVH8 hZ8GENQzGND4KY3EfZ4PzBy4ajymOf1CYl3Tw6QyzS+bTjw5J7/hqD4Jt57kLXUed5 s8+oQupYz214/iIoWiyyQMbqhwRK+GKJB5R30AM8= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/113339] `-a/-b` is not simplified to `a/b` if done in seperate statements Date: Thu, 11 Jan 2024 21:23:08 +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: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia 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=3D113339 --- Comment #3 from Andrew Pinski --- So I looked into the wrong part of fold, but anyways PR 23669 added the fol= ding to fold instead (and I just noticed I implemented it originally).=