This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/48374] ICE: in single_succ_edge, at basic-block.h:562 with -fselective-scheduling2 and __builtin_unreachable()
- From: "abel at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 Oct 2012 08:25:24 +0000
- Subject: [Bug rtl-optimization/48374] ICE: in single_succ_edge, at basic-block.h:562 with -fselective-scheduling2 and __builtin_unreachable()
- Auto-submitted: auto-generated
- References: <bug-48374-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48374
--- Comment #6 from Andrey Belevantsev <abel at gcc dot gnu.org> 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 <abel@ispras.ru>
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