From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 89CBE3851C03; Tue, 25 Aug 2020 11:50:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 89CBE3851C03 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1598356231; bh=s2iVPbu1M6ZQiwgmTUt7ohoitW6xndjj8mhtbAxMuws=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rIaUN2DjbBTUweF+4sKoypCcDlrdSAVmycEJ7MgySBdpLbVGkw+ktcL4sFbb59+D5 yXSlkwx9NHczSleI4sssWBJWeVgzFdzuz4rnS1ZV9mwZUlmfcvUJAluxlnvk8iVHfA LX/CQeuASxQdcWtyuDKovcHuHXaF/8HwrD1Hy3fE= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/96722] [8/9/10/11 Regression] Clobbers on NULL since r8-1519 Date: Tue, 25 Aug 2020 11:50:31 +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: 11.0 X-Bugzilla-Keywords: 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: 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, 25 Aug 2020 11:50:31 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96722 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a5b15fcb954ba63d58f0daa700281aba33b5f24a commit r11-2840-ga5b15fcb954ba63d58f0daa700281aba33b5f24a Author: Jakub Jelinek Date: Tue Aug 25 13:49:40 2020 +0200 gimple: Ignore *0 =3D {CLOBBER} in path isolation [PR96722] Clobbers of MEM_REF with NULL address are just fancy nops, something we just ignore and don't emit any code for it (ditto for other clobbers), they = just mark end of life on something, so we shouldn't infer from those that th= ere is some UB. 2020-08-25 Jakub Jelinek PR tree-optimization/96722 * gimple.c (infer_nonnull_range): Formatting fix. (infer_nonnull_range_by_dereference): Return false for clobber stmts. * g++.dg/opt/pr96722.C: New test.=