re PR target/48273 (ICE: in create_copy_of_insn_rtx, at sel-sched-ir.c:5604 with...
authorAlexander Monakov <amonakov@ispras.ru>
Fri, 8 Apr 2011 11:49:43 +0000 (15:49 +0400)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Fri, 8 Apr 2011 11:49:43 +0000 (15:49 +0400)
commit07643d76c74845e250bdedca6b7148ebccff780b
treeb24f6232438679f7da43611698b485f6401bd044
parent1f3b2b4e2914cbb5750e23acf609c5c5b7ca42a3
re PR target/48273 (ICE: in create_copy_of_insn_rtx, at sel-sched-ir.c:5604 with -fsel-sched-pipelining -fselective-scheduling2 -march=core2)

PR target/48273
* cfgloop.h (loop_has_exit_edges): New helper.
* sel-sched-ir.c (init_global_and_expr_for_insn): Make CALLs
non-clonable.
* sel-sched.c (sel_setup_region_sched_flags): Don't pipeline loops
that have no exit edges.

testsuite:
* g++.dg/opt/pr48273.C: New.

From-SVN: r172175
gcc/ChangeLog
gcc/cfgloop.h
gcc/sel-sched-ir.c
gcc/sel-sched.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr48273.C [new file with mode: 0644]