From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D2D063851157; Fri, 14 Oct 2022 10:47:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D2D063851157 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665744466; bh=IaGqjOn7Oi0PtbPSsM3pvKHm7UHTP8NJ5e/PWlcev4E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HAL1W5dkWokq1NhaEsBu2dXZxFU5APyEBN7o0yoD3mIfW6iMJwDXBgJGdRdICt5hv Qx4uqsPPClOKYqjZeRlYfSQvAEz+mivc7OUc6l8U1VMZupz92JunS6Kme4DdUqTTfg gYGPESmieovUAMT9+f7BKb7RbZ0tHMGAw9icL/M4= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/106513] [10 Regression] bswap pass misses that >>56 for signed types can be replicate the sign bit Date: Fri, 14 Oct 2022 10:47:45 +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: 13.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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: 10.5 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=3D106513 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:29ad829c93d530e75dee88d2550350c14fcaf8f6 commit r10-11038-g29ad829c93d530e75dee88d2550350c14fcaf8f6 Author: Richard Biener Date: Wed Aug 10 15:45:22 2022 +0200 tree-optimization/106513 - fix mistake in bswap symbolic number shifts This fixes a mistake in typing a local variable in the symbolic shift routine. PR tree-optimization/106513 * gimple-ssa-store-merging.c (do_shift_rotate): Use uint64_t for head_marker. * gcc.dg/torture/pr106513.c: New testcase. (cherry picked from commit f675afa4eeac9910a2c085a95aa04d6d9f2fd8d6)=