diff options
author | Kenneth Zadeck <zadeck@naturalbridge.com> | 2006-05-23 01:17:29 +0000 |
---|---|---|
committer | Kenneth Zadeck <zadeck@gcc.gnu.org> | 2006-05-23 01:17:29 +0000 |
commit | 1a1a5f4b25c5897773fae846a68287439555e248 (patch) | |
tree | f324d099d9d167255cb708938d6b7fb3a505f4e0 /gcc/ddg.c | |
parent | b633db7b859751e579a2f0d44c6869c2f505beb8 (diff) | |
download | gcc-1a1a5f4b25c5897773fae846a68287439555e248.tar.gz |
re PR rtl-optimization/26375 (Swing modulo scheduling results in ICE)
2006-05-22 Kenneth Zadeck <zadeck@naturalbridge.com>
PR rtl-optimization/26375
PR rtl-optimization/26855
* df-problems (df_ru_bb_local_compute_process_def): Removed update
to gen set.
(df_ru_bb_local_compute): Reversed statements and removed bogus
comment explaining why they should be in wrong order.
(df_ru_dump, df_rd_dump): Enhanced debug info.
* modulo-sched.c (sms_schedule, tree_opt_pass pass_sms): Enhanced
debug info.
* ddg.c (add_deps_for_def): Converted use of reaching defs to
reaching uses and fixed space problem.
From-SVN: r114010
Diffstat (limited to 'gcc/ddg.c')
-rw-r--r-- | gcc/ddg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ddg.c b/gcc/ddg.c index c00e4991157..c59ee6ea8f1 100644 --- a/gcc/ddg.c +++ b/gcc/ddg.c @@ -225,7 +225,7 @@ static void add_deps_for_def (ddg_ptr g, struct df *df, struct df_ref *rd) { int regno = DF_REF_REGNO (rd); - struct df_rd_bb_info *bb_info = DF_RD_BB_INFO (df, g->bb); + struct df_ru_bb_info *bb_info = DF_RU_BB_INFO (df, g->bb); struct df_link *r_use; int use_before_def = false; rtx def_insn = DF_REF_INSN (rd); @@ -338,7 +338,7 @@ build_inter_loop_deps (ddg_ptr g, struct df *df) /* We are interested in uses of this BB. */ if (BLOCK_FOR_INSN (use->insn) == g->bb) - add_deps_for_use (g, df,use); + add_deps_for_use (g, df, use); } } |