From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3414 invoked by alias); 21 Feb 2013 10:30:10 -0000 Received: (qmail 2306 invoked by uid 48); 21 Feb 2013 10:29:30 -0000 From: "steven at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/56131] [4.8 regression] gcc.dg/pr56035.c ICEs gcc on sparc-linux Date: Thu, 21 Feb 2013 10:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: steven at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: vries at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Changed-Fields: Status CC Resolution Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2013-02/txt/msg02143.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56131 Steven Bosscher changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |steven at gcc dot gnu.org Resolution|FIXED | --- Comment #13 from Steven Bosscher 2013-02-21 10:29:25 UTC --- The fix for this PR is wrong. Nothing even trying to look at the CFG after freeing it, so the looks at BLOCK_FOR_INSN in delete_insn are non-sense. Looking for the basic block anywhere at all at this point makes no sense, basic block contents and boundaries are not maintained and may be scrambled enough to make even the basic block notes unreliable. Also, "If the label is not marked with a bb, assume it's the same bb" is wrong if the label is a marker for a constant pool or a jump table.