diff options
author | mkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-08-17 08:48:37 +0000 |
---|---|---|
committer | mkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-08-17 08:48:37 +0000 |
commit | 6fcfdb19d48536721bed5e00b79c0942e8b8ee28 (patch) | |
tree | bad9e0947d0370b8e14e1ea87041d779fe235cdb /gcc/haifa-sched.c | |
parent | 318a328178a8984bb2a0cc17e8c23ed21015b5fe (diff) | |
download | gcc-6fcfdb19d48536721bed5e00b79c0942e8b8ee28.tar.gz |
2006-08-17 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
PR rtl-optimization/28489
* sched-ebb.c (begin_schedule_ready): Create basic block
at the right place.
(advance_target_bb): Skip empty blocks.
* haifa-sched.c (bb_note): Make global.
* sched-int.h (bb_note): Add prototype.
2006-08-17 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
PR rtl-optimization/28489
* gcc.c-torture/compile/pr28489.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116214 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r-- | gcc/haifa-sched.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 3111ee9e76a..78adee5723a 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -593,7 +593,6 @@ static void free_glat (void); static void sched_remove_insn (rtx); static void clear_priorities (rtx); static void add_jump_dependencies (rtx, rtx); -static rtx bb_note (basic_block); static void calc_priorities (rtx); #ifdef ENABLE_CHECKING static int has_edge_p (VEC(edge,gc) *, int); @@ -4549,7 +4548,7 @@ add_jump_dependencies (rtx insn, rtx jump) } /* Return the NOTE_INSN_BASIC_BLOCK of BB. */ -static rtx +rtx bb_note (basic_block bb) { rtx note; |