From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18475 invoked by alias); 30 Oct 2012 08:26:26 -0000 Received: (qmail 17746 invoked by uid 55); 30 Oct 2012 08:25:26 -0000 From: "abel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/48374] ICE: in single_succ_edge, at basic-block.h:562 with -fselective-scheduling2 and __builtin_unreachable() Date: Tue, 30 Oct 2012 08:26: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 X-Bugzilla-Severity: normal X-Bugzilla-Who: abel at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: abel at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: 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: 2012-10/txt/msg02825.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48374 --- Comment #6 from Andrey Belevantsev 2012-10-30 08:25:24 UTC --- Author: abel Date: Tue Oct 30 08:25:16 2012 New Revision: 192979 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192979 Log: Backport from mainline 2012-01-25 Andrey Belevantsev PR rtl-optimization/48374 * sel-sched-ir.h (get_all_loop_exits): Check for zero successors. * gcc.dg/pr48374.c: New test. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/pr48374.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/sel-sched-ir.h branches/gcc-4_6-branch/gcc/testsuite/ChangeLog