From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 101DE3858426; Fri, 14 Jul 2023 01:51:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 101DE3858426 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689299466; bh=bx3uuX6sMFV7/l7RsgdaMJ+nZcIyilPQff9+Inl/HyY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=i3HtDg+o15UaFZmpOWHfhMtjQwRyAtI6XjbCcVZ9FXe73vcNx/KqXwCGMeXqSeoot VieSxh0WM+jn/FEh/F9hW8Lswyn0WQZcbMcrYHCRfF3Lt6+zm1F7xiaRyUOjx+mXYX QaFsWff1WmOhMV4QgWdcErokhjo/6r6KfXIY7qyo= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/101469] wrong code with "-O2 -fPIE" for SH Date: Fri, 14 Jul 2023 01:51:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.3.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW 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=3D101469 --- Comment #13 from CVS Commits --- The releases/gcc-12 branch has been updated by Oleg Endo : https://gcc.gnu.org/g:5f20f736c1144dd9f2ae2f99099b7f7b21a3ab4e commit r12-9772-g5f20f736c1144dd9f2ae2f99099b7f7b21a3ab4e Author: Oleg Endo Date: Fri Jul 14 09:54:20 2023 +0900 SH: Fix PR101469 peephole bug gcc/ChangeLog: PR target/101469 * config/sh/sh.md (peephole2): Handle case where eliminated reg is also used by the address of the following memory operand.=