tree-pass.h (pass_cfg): Remove.
authorSteven Bosscher <stevenb.gcc@gmail.com>
Tue, 14 Mar 2006 21:04:56 +0000 (21:04 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Tue, 14 Mar 2006 21:04:56 +0000 (21:04 +0000)
* tree-pass.h (pass_cfg): Remove.
* alias.c (rest_of_handle_cfg, pass_cfg): Remove.
* passes.c (pass_cfg): Don't run it.

From-SVN: r112069

gcc/ChangeLog
gcc/alias.c
gcc/passes.c
gcc/tree-pass.h

index b4258bd0c3a0fe6523abdd5d5cf863f01509f9f1..15fbdc767b315d5a334a11d7052068f8372cba0f 100644 (file)
@@ -1,3 +1,9 @@
+2006-03-14  Steven Bosscher  <stevenb.gcc@gmail.com>
+
+       * tree-pass.h (pass_cfg): Remove.
+       * alias.c (rest_of_handle_cfg, pass_cfg): Remove.
+       * passes.c (pass_cfg): Don't run it.
+
 2006-03-14  Kazu Hirata  <kazu@codesourcery.com>
 
        * Makefile.in (reg-stack.o): Don't depend on gt-reg-stack.h.
index d66d0c7e586cf30f0aa14ea8e9e72a47ee2e096a..ad9855d0fedaf9e7e90ba1a44fd7872e23cba807 100644 (file)
@@ -2642,36 +2642,5 @@ end_alias_analysis (void)
   free (reg_known_equiv_p);
   reg_known_equiv_p = 0;
 }
-\f
-/* Do control and data flow analysis; write some of the results to the
-   dump file.  */
-static unsigned int
-rest_of_handle_cfg (void)
-{
-  if (dump_file)
-    dump_flow_info (dump_file, dump_flags);
-  if (optimize)
-    cleanup_cfg (CLEANUP_EXPENSIVE
-                 | (flag_thread_jumps ? CLEANUP_THREADING : 0));
-  return 0;
-}
-
-struct tree_opt_pass pass_cfg =
-{
-  "cfg",                                /* name */
-  NULL,                                        /* gate */   
-  rest_of_handle_cfg,                   /* execute */       
-  NULL,                                 /* sub */
-  NULL,                                 /* next */
-  0,                                    /* static_pass_number */
-  TV_FLOW,                              /* tv_id */
-  0,                                    /* properties_required */
-  0,                                    /* properties_provided */
-  0,                                    /* properties_destroyed */
-  0,                                    /* todo_flags_start */
-  TODO_dump_func,                       /* todo_flags_finish */
-  'f'                                   /* letter */
-};
-
 
 #include "gt-alias.h"
index f6a97f65edf438aaff6d4fb8bbb5a0a8bd6045f7..85bfefaf95d25e1766f1c1104dfa335ad2286779 100644 (file)
@@ -634,7 +634,6 @@ init_optimization_passes (void)
   NEXT_PASS (pass_cse);
   NEXT_PASS (pass_gcse);
   NEXT_PASS (pass_jump_bypass);
-  NEXT_PASS (pass_cfg);
   NEXT_PASS (pass_rtl_ifcvt);
   NEXT_PASS (pass_tracer);
   /* Perform loop optimizations.  It might be better to do them a bit
index a7c3f0062240467a5c3539431500155113ed3d08..7f05d3c2ee171660eac4cbe217bbc3ca3d5bd7a9 100644 (file)
@@ -334,7 +334,6 @@ extern struct tree_opt_pass pass_jump2;
 extern struct tree_opt_pass pass_cse;
 extern struct tree_opt_pass pass_gcse;
 extern struct tree_opt_pass pass_jump_bypass;
-extern struct tree_opt_pass pass_cfg;
 extern struct tree_opt_pass pass_profiling;
 extern struct tree_opt_pass pass_rtl_ifcvt;
 extern struct tree_opt_pass pass_tracer;