re PR rtl-optimization/48272 (internal compiler error: in setup_insn_reg_pressure_inf...
authorAndrey Belevantsev <abel@ispras.ru>
Fri, 8 Apr 2011 13:25:29 +0000 (17:25 +0400)
committerAndrey Belevantsev <abel@gcc.gnu.org>
Fri, 8 Apr 2011 13:25:29 +0000 (17:25 +0400)
commit19ac78921e8351a7b4b96c0b404d30dbbfb4f80d
treee26fad5edf90e1aeb0033a2cc5dc5424c53f81bd
parent0f8c63cc10c27905f6d6fa553d3be08a416b2e1f
re PR rtl-optimization/48272 (internal compiler error: in setup_insn_reg_pressure_info, at haifa-sched.c:1124)

        PR rtl-optimization/48272

        * sched-deps.c (setup_insn_reg_pressure_info): Export and rename to
        init_insn_reg_pressure_info.  Adjust a caller.
        * sched-int.h (init_insn_reg_pressure_info): Declare.
        * haifa-sched.c (haifa_init_insn): Call init_insn_reg_pressure_info
        when sched-pressure is enabled.

        * g++.dg/opt/pr48272.C: New.

From-SVN: r172183
gcc/ChangeLog
gcc/haifa-sched.c
gcc/sched-deps.c
gcc/sched-int.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr48272.C [new file with mode: 0644]