From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EEDB13893649; Fri, 24 Apr 2020 09:22:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EEDB13893649 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587720120; bh=KiT1QaX1WpJd5+c7jxL8CfO2Rl4lk8PnJQkIcjPhzlY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kqPZgSr3X6DRZxQvhwmMCy8ET3JrZT1xFfvJrQBX9jVyGWMDTtCETgSUwmDOP6uq4 RzLxeyzZVWYxSzBRFGmtIU4EMEu0nmYeG8kRz3ruEaxX5hWT3fsMvrcxOCA1QXVKjL MsNVJCEuM5OAxAzXES8V+W5DkCw++6FW3BhJ8PwQ= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/94734] [10 Regression] Program crashes when compiled with -O2 since r10-1892-gb9ef6a2e04bfd013 Date: Fri, 24 Apr 2020 09:22:00 +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: 10.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 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: Fri, 24 Apr 2020 09:22:01 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94734 --- Comment #15 from Richard Biener --- (In reply to Jakub Jelinek from comment #13) > Even better. Note none of the committed testcases would be handled with this. There's also the issue of store data races (not sure if the notrap handling is correct there, it looks like not) - for auto variables that would not be an issue (but would need to be checked extra). A dominating store to the same location isn't enough to prove validity either since that might be inside a different protected region.=