From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2996D3945C38; Tue, 4 May 2021 15:29:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2996D3945C38 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/100342] [10/11 Regression] wrong code with -O2 -fno-dse -fno-forward-propagate -mno-sse2 Date: Tue, 04 May 2021 15:29:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 11.1.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org 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: 10.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2021 15:29:37 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100342 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |segher at gcc dot gnu.org --- Comment #6 from Jakub Jelinek --- That seems to happen during shrink-wrapping: #0 df_insn_delete (insn=3D0x7fffe9e3a6c0) at ../../gcc/df-scan.c:932 #1 0x0000000000978328 in delete_insn (insn=3D0x7fffe9e3a6c0) at ../../gcc/cfgrtl.c:178 #2 0x0000000000d5a270 in copyprop_hardreg_forward_1 (bb=3D, vd=3D) at ../../gcc/regcprop.c:825 #3 0x0000000000d5b772 in copyprop_hardreg_forward_bb_without_debug_insn (bb=3D) at ../../gcc/regcprop.c:1211 #4 0x0000000000db616c in prepare_shrink_wrap (entry_block=3D) at ../../gcc/shrink-wrap.c:451 #5 try_shrink_wrapping (entry_edge=3D0x7fffffffd518, prologue_seq=3D0x7fffe9e81440) at ../../gcc/shrink-wrap.c:674 #6 0x0000000000ae7ffc in thread_prologue_and_epilogue_insns () at ../../gcc/function.c:6025 #7 0x0000000000ae86c3 in rest_of_handle_thread_prologue_and_epilogue () at ../../gcc/function.c:6510=