From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D8A5E39450D4; Tue, 7 Apr 2020 19:04:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D8A5E39450D4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1586286241; bh=ckveFeeWmZMSn7ramyIrBwyjuY1SDQ1Xy2I9r71vzNE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DJnWlY2Jl6i8/Wf7dGc77bkiT2gzRwYRqeM9lAigOKNX0KWfb7uYZlHhuK6zMLRX9 aqAUQU6eIrNqicBj+h7WgUSWQBmmr5inKWVTpTHSn5Y4pGjA/AK3mLnoSGXhZr+Z0H BwUfnFI3MlRIVR1Ib3uqWDseLdZaiV5m0nsXkrao= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBkZWJ1Zy85NDI4M10gWzgvOSBSZWdyZXNzaW9uXSBnY2M6?= =?UTF-8?B?IGVycm9yOiBnY2MvdGVzdHN1aXRlL2djYy5kZy9mb2xkLWJvcGNvbmQtMS5j?= =?UTF-8?B?OiDigJgtZmNvbXBhcmUtZGVidWfigJkgZmFpbHVyZSBzaW5jZSByNy00ODA0?= =?UTF-8?B?LWdiNTQ4MTk4NzllMDUxOGIz?= Date: Tue, 07 Apr 2020 19:04:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: 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: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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 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, 07 Apr 2020 19:04:02 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94283 --- Comment #7 from CVS Commits --- The releases/gcc-9 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4dcfd4e56b0d22af12750372f3e0b49249b1d473 commit r9-8469-g4dcfd4e56b0d22af12750372f3e0b49249b1d473 Author: Jakub Jelinek Date: Tue Apr 7 20:57:37 2020 +0200 if-conv: Fix -fcompare-debug bugs in ifcvt_local_dce [PR94283] The following testcase shows -fcompare-debug bugs in ifcvt_local_dce, where the decisions what statements are needed is based also on debug s= tmt operands, which is wrong. So, this patch makes sure to never add debug stmt to the worklist, or n= ever add an assign to worklist just because it is used in a debug stmt in another bb. 2020-03-24 Jakub Jelinek PR debug/94283 * tree-if-conv.c (ifcvt_local_dce): For gimple debug stmts, just set GF_PLF_2, but don't add them to worklist. Don't add an assigme= nt to worklist or set GF_PLF_2 just because it is used in a debug stm= t in another bb. Formatting improvements. * gcc.target/i386/pr94283.c: New test.=