From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 41AE23853576; Tue, 11 Oct 2022 13:04:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 41AE23853576 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665493481; bh=//zgbhmgoWLpFaLBkJQleg8JOur8xR/pm7hpa+VtDmM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xLnEMQH4PZL4Ms1lM9zeYbQ5wcmkbw/dDoI1V6hv4dGCGvVmphA56gDcyFXrxl1fA NrtS07xMuuSE4Q0FxBXvEmkXgxxMkfh61OHt8907+FU+HnOHdjLMKagUVdWxSOA7YZ 6ZxxKG1SPTKyIp4CaXntrb2Qiz44TwlxY3ZamshM= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/106513] [10/11 Regression] bswap pass misses that >>56 for signed types can be replicate the sign bit Date: Tue, 11 Oct 2022 13:04:40 +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 #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:ec718fb7a3a58955017cd80f6a8927afbe340fc4 commit r11-10306-gec718fb7a3a58955017cd80f6a8927afbe340fc4 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)=