diff options
author | zadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-23 01:17:29 +0000 |
---|---|---|
committer | zadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-23 01:17:29 +0000 |
commit | 02a8ad7e6a1fa6c0da9f0c8a4df1f2498e7a32e3 (patch) | |
tree | f324d099d9d167255cb708938d6b7fb3a505f4e0 /gcc/ddg.c | |
parent | d3d410e15660be79881f484f5ccda6142cba0dca (diff) | |
download | gcc-02a8ad7e6a1fa6c0da9f0c8a4df1f2498e7a32e3.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114010 138bc75d-0d04-0410-961f-82ee72b054a4
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); } } |