From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 54DFD385840C; Sat, 22 Apr 2023 08:06:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 54DFD385840C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682150812; bh=gjLwLgp86lVCchAtVMItDLw6+sLToCnLbbYbD4VO5/k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wQSqfndQMuyVXoAv971u97F5zYtWKdJV/TpgsQoW5n7UuzD+6phKHiSZFrNRSiArD rSe1+Zn/IMMLMS/IylW/4gLR4tTNLKGW2VGUVKktoJO5voXqcg3AIPqx04M2C3nB6B wyWlHSX+seuY7njhKM35eXcL4cktKxFGzSuubj3c= From: "roger at nextmovesoftware dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/19986] [meta-bug] fold missing optimizations (compared to RTL) Date: Sat, 22 Apr 2023 08:06:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.0.0 X-Bugzilla-Keywords: meta-bug, missed-optimization, TREE X-Bugzilla-Severity: enhancement X-Bugzilla-Who: roger at nextmovesoftware dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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=3D19986 Bug 19986 depends on bug 25186, which changed state. Bug 25186 Summary: (short)(((int)short_var) <<1) should be folded so that t= he shift is done in the short type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D25186 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED=