This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Don't give names to passes that produce no dump output


Zdenek,

Please do not name passes if you are not going to emit debugging dumps. 
Otherwise you just pollute the directory with unnecessary files.


Diego.

       * tree-ssa-loop.c (pass_record_bounds): Do not assign a
       name to the pass.

Index: tree-ssa-loop.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-loop.c,v
retrieving revision 2.19
diff -d -u -p -r2.19 tree-ssa-loop.c
--- tree-ssa-loop.c     25 Sep 2004 12:53:26 -0000      2.19
+++ tree-ssa-loop.c     28 Sep 2004 20:36:54 -0000
@@ -311,7 +311,7 @@ tree_ssa_loop_bounds (void)

 struct tree_opt_pass pass_record_bounds =
 {
-  "bounds",                            /* name */
+  NULL,                                        /* name */
   NULL,                                        /* gate */
   tree_ssa_loop_bounds,                        /* execute */
   NULL,                                        /* sub */



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]