From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23671 invoked by alias); 1 Feb 2015 21:56:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 23510 invoked by uid 55); 1 Feb 2015 21:56:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/43631] var-tracking inserts notes with non-NULL BLOCK_FOR_INSN in between basic blocks Date: Sun, 01 Feb 2015 21:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.5.0 X-Bugzilla-Keywords: wrong-debug X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: steven at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg00067.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43631 --- Comment #28 from Jakub Jelinek --- Author: jakub Date: Sun Feb 1 21:56:03 2015 New Revision: 220336 URL: https://gcc.gnu.org/viewcvs?rev=220336&root=gcc&view=rev Log: Backported from mainline 2015-01-27 Jakub Jelinek PR rtl-optimization/61058 * jump.c (cleanup_barriers): Update basic block boundaries if BLOCK_FOR_INSN is non-NULL on PREV. * gcc.dg/pr61058.c: New test. 2013-04-16 Steven Bosscher PR middle-end/43631 * jump.c (cleanup_barriers): Use reorder_insns_nobb to avoid making the moved barrier the tail of the basic block it follows. Added: branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/pr61058.c Modified: branches/gcc-4_8-branch/gcc/ChangeLog branches/gcc-4_8-branch/gcc/jump.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog