X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Ftree-ssa-dse.c;h=17ed1297affb9b66abd2b6c13a6e2cafa287e465;hb=7c568de5f7d7fb8852c9d1808236f2a8c2d45ecd;hp=f1cc22ae310224fc42c777e6a0bd8095a00db288;hpb=2b9070b6074f3138196132879507cab903308feb;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/tree-ssa-dse.c b/gcc/tree-ssa-dse.c index f1cc22ae310..17ed1297aff 100644 --- a/gcc/tree-ssa-dse.c +++ b/gcc/tree-ssa-dse.c @@ -91,7 +91,7 @@ struct address_walk_data }; static bool gate_dse (void); -static void tree_ssa_dse (void); +static unsigned int tree_ssa_dse (void); static void dse_initialize_block_local_data (struct dom_walk_data *, basic_block, bool); @@ -351,7 +351,7 @@ dse_optimize_stmt (struct dom_walk_data *walk_data, SET_USE (use_p, USE_FROM_PTR (var2)); } /* Remove the dead store. */ - bsi_remove (&bsi); + bsi_remove (&bsi, true); /* And release any SSA_NAMEs set in this statement back to the SSA_NAME manager. */ @@ -398,7 +398,7 @@ dse_finalize_block (struct dom_walk_data *walk_data, } } -static void +static unsigned int tree_ssa_dse (void) { struct dom_walk_data walk_data; @@ -455,6 +455,7 @@ tree_ssa_dse (void) /* For now, just wipe the post-dominator information. */ free_dominance_info (CDI_POST_DOMINATORS); + return 0; } static bool