From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C1617388883F; Thu, 20 Jun 2024 07:58:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C1617388883F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1718870309; bh=pCSUU6mpsfA/h2YOldVIMTseNo4+McFaguue2PSwWEM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OVv9QU9c28OZPgGuQBXyi7nidnvaVHnE7eqFDdexVGF702tvIdod72HJE3+jJyaIw lWkT+c3T8AmsBZuFDaHMWaBbB93Wyo6VUGFYpk28ed7hsqK8GXNJ/W/GZ9bpJDrSNI GKuoO1AztMeMVpeQBWsZLP18PzrPoaRFW4wYI4Gk= From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/115551] [missed optimization] "c1 << (a + c2)" not optimized into "(c1 << c2) << a" Date: Thu, 20 Jun 2024 07:58:29 +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: 15.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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=3D115551 --- Comment #6 from Tobias Burnus --- Crossref: New Bug 115555 is for the range analysis to deduce from 'x << a' = that 'a' must be nonnegative.=