aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-rgn.c
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <mkuvyrkov@ispras.ru>2007-04-16 15:04:18 +0000
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>2007-04-16 15:04:18 +0000
commitbdbf40a53653d4e4f069370e328653b73ed10e66 (patch)
treeed980709254e5d24aa85241a49360562d6c042e1 /gcc/sched-rgn.c
parentb3ea5d8ea600ec696ffb3ec43bf69f651b0852c5 (diff)
downloadgcc-bdbf40a53653d4e4f069370e328653b73ed10e66.zip
gcc-bdbf40a53653d4e4f069370e328653b73ed10e66.tar.gz
gcc-bdbf40a53653d4e4f069370e328653b73ed10e66.tar.bz2
re PR middle-end/28071 (A file that can not be compiled in reasonable time/space)
PR middle-end/28071 * sched-int.h (struct deps): Split field 'pending_lists_length' into 'pending_read_list_length' and 'pending_write_list_length'. Update comment. * sched-deps.c (add_insn_mem_dependence): Change signature. Update to handle two length counters instead of one. Update all uses. (flush_pending_lists, sched_analyze_1, init_deps): Update to handle two length counters instead of one. * sched-rgn.c (propagate_deps): Update to handle two length counters instead of one. From-SVN: r123874
Diffstat (limited to 'gcc/sched-rgn.c')
-rw-r--r--gcc/sched-rgn.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c
index 82f3d12..79129bb 100644
--- a/gcc/sched-rgn.c
+++ b/gcc/sched-rgn.c
@@ -2463,7 +2463,10 @@ propagate_deps (int bb, struct deps *pred_deps)
= concat_INSN_LIST (pred_deps->last_pending_memory_flush,
succ_deps->last_pending_memory_flush);
- succ_deps->pending_lists_length += pred_deps->pending_lists_length;
+ succ_deps->pending_read_list_length
+ += pred_deps->pending_read_list_length;
+ succ_deps->pending_write_list_length
+ += pred_deps->pending_write_list_length;
succ_deps->pending_flush_length += pred_deps->pending_flush_length;
/* last_function_call is inherited by successor. */