From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 70015395ACC2; Thu, 23 Apr 2020 20:28:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 70015395ACC2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587673718; bh=2z8mBqSgoHiJWmug9dZ64CoaD0vPeox31cMzDGbpGL0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mReA9+12V0t5cNKpZ2+Esj5JbBWpHtvaGETb5SU8pcjxuQb8m7LfOX2cwjZyY9DrH BUxE9HbbtcHBnuYsiZ4iNs3Iy7MV30LBPNprTyHUefnUrgQxxT4tmTDljOiw5YHLSa SYxpWx28QwXpMxOKPwRixZ5Xx5Y9nnnvKuFEHHQo= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/94717] [10 Regression] segfault with -O2 -fnon-call-exceptions -ftracer Date: Thu, 23 Apr 2020 20:28:38 +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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ebotcazou 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: Thu, 23 Apr 2020 20:28:38 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94717 --- Comment #7 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:cb76fcd7fb4a4f1e4d1688deca87969124f16fef commit r10-7926-gcb76fcd7fb4a4f1e4d1688deca87969124f16fef Author: Eric Botcazou Date: Thu Apr 23 22:25:04 2020 +0200 Fix segfault with -O2 -fnon-call-exceptions -ftracer The GIMPLE SSA store merging pass blows up when it is rewriting the stores because it didn't realize that they don't belong to the same EH region. Fixed by refusing to merge them. PR tree-optimization/94717 * gimple-ssa-store-merging.c (try_coalesce_bswap): Return false= if one of the stores doesn't have the same landing pad number as t= he first. (coalesce_immediate_stores): Do not try to coalesce the store u= sing bswap if it doesn't have the same landing pad number as the fir= st.=