X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Fpasses.c;h=9ad672c477a85f3bc23df75e41645e34720cdd9b;hp=bb52dc7eb3cbe9d0796a508462398717de6b8621;hb=bfec3452cfb96a7546809ee1af3fffb9eba9d658;hpb=0bad176afcce966b6175efee295a30c2711ee652 diff --git a/gcc/passes.c b/gcc/passes.c index bb52dc7eb3c..9ad672c477a 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -509,6 +509,8 @@ init_optimization_passes (void) backend might produce already lowered functions that are not processed by these passes. */ p = &all_lowering_passes; + NEXT_PASS (pass_warn_unused_result); + NEXT_PASS (pass_diagnose_omp_blocks); NEXT_PASS (pass_remove_useless_stmts); NEXT_PASS (pass_mudflap_1); NEXT_PASS (pass_lower_omp); @@ -821,7 +823,6 @@ init_optimization_passes (void) /* Register the passes with the tree dump code. */ register_dump_files (all_lowering_passes, PROP_gimple_any); - all_lowering_passes->todo_flags_start |= TODO_set_props; register_dump_files (all_ipa_passes, PROP_gimple_any | PROP_gimple_lcf | PROP_gimple_leh | PROP_cfg); @@ -1261,9 +1262,6 @@ execute_one_pass (struct opt_pass *pass) if (!quiet_flag && !cfun) fprintf (stderr, " <%s>", pass->name ? pass->name : ""); - if (pass->todo_flags_start & TODO_set_props) - cfun->curr_properties = pass->properties_required; - /* Note that the folders should only create gimple expressions. This is a hack until the new folder is ready. */ in_gimple_form = (cfun && (cfun->curr_properties & PROP_trees)) != 0;