re PR rtl-optimization/56957 (ICE in add_insn_after, at emit-rtl.c:3783)
authorAndrey Belevantsev <abel@ispras.ru>
Tue, 30 Apr 2013 10:55:52 +0000 (14:55 +0400)
committerAndrey Belevantsev <abel@gcc.gnu.org>
Tue, 30 Apr 2013 10:55:52 +0000 (14:55 +0400)
commit54b8379a261d1b36958aecbca568ef6475a8e1ca
tree3d9c0e789beb68074f0dcebb9a4ca3f6bc4ca676
parentabc27962b81152a9c68108b2e11e8a90129a46e9
re PR rtl-optimization/56957 (ICE in add_insn_after, at emit-rtl.c:3783)

        PR rtl-optimization/56957
        PR rtl-optimization/57105

        * sel-sched.c (move_op_orig_expr_found): Remove insn_emitted
        variable.  Use just INSN_UID for determining whether an insn
        should be only disconnected from the insn stream.
        * sel-sched-ir.h (EXPR_WAS_CHANGED): Remove.

* gcc.dg/pr57105.c: New test.

From-SVN: r198449
gcc/ChangeLog
gcc/sel-sched-ir.h
gcc/sel-sched.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr57105.c [new file with mode: 0644]