------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-13 20:33 
-------
there is a cfg version of remove_useless_stmts, cfg_remove_useless_stmts, maybe 
someone (not me) 
can do some timings (code gen) on this patch:
Index: tree-cfg.c
===============================================================
====
RCS file: /cvs/gcc/gcc/gcc/tree-cfg.c,v
retrieving revision 2.74
diff -u -p -r2.74 tree-cfg.c
--- tree-cfg.c  10 Oct 2004 13:16:35 -0000      2.74
+++ tree-cfg.c  13 Oct 2004 20:32:51 -0000
@@ -1635,7 +1635,7 @@ struct tree_opt_pass pass_remove_useless
 {
   "useless",                           /* name */
   NULL,                                        /* gate */
-  remove_useless_stmts,                        /* execute */
+  cfg_remove_useless_stmts,                    /* execute */
   NULL,                                        /* sub */
   NULL,                                        /* next */
   0,                                   /* static_pass_number */


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17967

Reply via email to