re PR rtl-optimization/52203 (ICE: in reset_sched_cycles_in_current_ebb, at sel-sched...
authorAndrey Belevantsev <abel@ispras.ru>
Wed, 7 Mar 2012 12:00:37 +0000 (16:00 +0400)
committerAndrey Belevantsev <abel@gcc.gnu.org>
Wed, 7 Mar 2012 12:00:37 +0000 (16:00 +0400)
commit3f1960accc97cdf0da843f19cf9cf3b6be8402c6
tree2b708551c65c4ac39c6706e86221e3c3dbf11a32
parentd6baa4460bbf17a6e9f0a7b7aea6d6a8241c389e
re PR rtl-optimization/52203 (ICE: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7136 with -fsel-sched-pipelining -fselective-scheduling2 and other custom flags)

        PR rtl-optimization/52203
        * sel-sched.c (estimate_insn_cost): New parameter pempty.  Adjust
        all callers to pass NULL except ...
        (reset_sched_cycles_in_current_ebb): ... here, save the value
        in new variable 'empty'.  Increase issue_rate only for
        non-empty insns.

From-SVN: r185036
gcc/ChangeLog
gcc/sel-sched.c