aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-int.h
diff options
context:
space:
mode:
authorAndrey Belevantsev <abel@ispras.ru>2011-04-08 17:25:29 +0400
committerAndrey Belevantsev <abel@gcc.gnu.org>2011-04-08 17:25:29 +0400
commit19ac78921e8351a7b4b96c0b404d30dbbfb4f80d (patch)
treee26fad5edf90e1aeb0033a2cc5dc5424c53f81bd /gcc/sched-int.h
parent0f8c63cc10c27905f6d6fa553d3be08a416b2e1f (diff)
downloadgcc-19ac78921e8351a7b4b96c0b404d30dbbfb4f80d.zip
gcc-19ac78921e8351a7b4b96c0b404d30dbbfb4f80d.tar.gz
gcc-19ac78921e8351a7b4b96c0b404d30dbbfb4f80d.tar.bz2
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
Diffstat (limited to 'gcc/sched-int.h')
-rw-r--r--gcc/sched-int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/sched-int.h b/gcc/sched-int.h
index d5add3b..d5c9509 100644
--- a/gcc/sched-int.h
+++ b/gcc/sched-int.h
@@ -1194,6 +1194,7 @@ extern void init_deps_global (void);
extern void finish_deps_global (void);
extern void deps_analyze_insn (struct deps_desc *, rtx);
extern void remove_from_deps (struct deps_desc *, rtx);
+extern void init_insn_reg_pressure_info (rtx);
extern dw_t get_dep_weak_1 (ds_t, ds_t);
extern dw_t get_dep_weak (ds_t, ds_t);