Remove TODO_dump_func completely
authorXinliang David Li <davidxl@google.com>
Wed, 11 Apr 2012 17:46:52 +0000 (17:46 +0000)
committerXinliang David Li <davidxl@gcc.gnu.org>
Wed, 11 Apr 2012 17:46:52 +0000 (17:46 +0000)
From-SVN: r186342

gcc/ChangeLog
gcc/ira.c
gcc/trans-mem.c
gcc/tree-pass.h
gcc/tree-ssa-tail-merge.c

index 802c41d..b7ed7b1 100644 (file)
@@ -1,3 +1,10 @@
+2012-04-11  Xinliang David Li  <davidxl@google.com>
+
+       * tree-passes.h: Remove TODO_dump_func.
+       * tree-ssa-tail-merge.c (tail_merge_optimize): Remove TODO_dump_func.
+       * trans-mem.c: Remove TODO_dump_func.
+       * ira.c: Remove TODO_dump_func.
+
 2012-04-11  H.J. Lu  <hongjiu.lu@intel.com>
 
        * config/i386/i386.c (ix86_option_override_internal): Check
index 41a2928..642270f 100644 (file)
--- a/gcc/ira.c
+++ b/gcc/ira.c
@@ -3814,7 +3814,7 @@ struct rtl_opt_pass pass_ira =
   0,                                    /* properties_provided */
   0,                                    /* properties_destroyed */
   0,                                    /* todo_flags_start */
-  TODO_dump_func                        /* todo_flags_finish */
+  0,                                    /* todo_flags_finish */
  }
 };
 
@@ -3840,6 +3840,6 @@ struct rtl_opt_pass pass_reload =
   0,                                    /* properties_provided */
   0,                                    /* properties_destroyed */
   0,                                    /* todo_flags_start */
-  TODO_dump_func | TODO_ggc_collect     /* todo_flags_finish */
+  TODO_ggc_collect                      /* todo_flags_finish */
  }
 };
index 65f40e6..c1c68be 100644 (file)
@@ -1730,7 +1730,7 @@ struct gimple_opt_pass pass_lower_tm =
   0,                                   /* properties_provided */
   0,                                   /* properties_destroyed */
   0,                                   /* todo_flags_start */
-  TODO_dump_func                       /* todo_flags_finish */
+  0,                                   /* todo_flags_finish */
  }
 };
 \f
@@ -2543,8 +2543,7 @@ struct gimple_opt_pass pass_tm_mark =
   0,                                   /* properties_destroyed */
   0,                                   /* todo_flags_start */
   TODO_update_ssa
-  | TODO_verify_ssa
-  | TODO_dump_func,                    /* todo_flags_finish */
+  | TODO_verify_ssa,                   /* todo_flags_finish */
  }
 };
 \f
@@ -2818,8 +2817,7 @@ struct gimple_opt_pass pass_tm_edges =
   0,                                   /* properties_destroyed */
   0,                                   /* todo_flags_start */
   TODO_update_ssa
-  | TODO_verify_ssa
-  | TODO_dump_func,                    /* todo_flags_finish */
+  | TODO_verify_ssa,                   /* todo_flags_finish */
  }
 };
 \f
@@ -3483,7 +3481,7 @@ struct gimple_opt_pass pass_tm_memopt =
   0,                                   /* properties_provided */
   0,                                   /* properties_destroyed */
   0,                                   /* todo_flags_start */
-  TODO_dump_func,                      /* todo_flags_finish */
+  0,                                   /* todo_flags_finish */
  }
 };
 
@@ -5035,7 +5033,7 @@ struct simple_ipa_opt_pass pass_ipa_tm =
   0,                                   /* properties_provided */
   0,                                   /* properties_destroyed */
   0,                                   /* todo_flags_start */
-  TODO_dump_func,                      /* todo_flags_finish */
+  0,                                   /* todo_flags_finish */
  },
 };
 
index cbb2a87..7b330db 100644 (file)
@@ -245,7 +245,6 @@ struct dump_file_info
   (PROP_gimple_any | PROP_gimple_lcf | PROP_gimple_leh | PROP_gimple_lomp)
 
 /* To-do flags.  */
-#define TODO_dump_func                 (1 << 0)
 #define TODO_ggc_collect               (1 << 1)
 #define TODO_verify_ssa                        (1 << 2)
 #define TODO_verify_flow               (1 << 3)
index 1f46b10..34d611c 100644 (file)
@@ -1592,8 +1592,7 @@ tail_merge_optimize (unsigned int todo)
          dump_function_to_file (current_function_decl, dump_file, dump_flags);
        }
 
-      todo |= (TODO_verify_ssa | TODO_verify_stmts | TODO_verify_flow
-              | TODO_dump_func);
+      todo |= (TODO_verify_ssa | TODO_verify_stmts | TODO_verify_flow);
       mark_sym_for_renaming (gimple_vop (cfun));
     }