This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Don't give names to passes that produce no dump output
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 28 Sep 2004 16:39:15 -0400
- Subject: Don't give names to passes that produce no dump output
- Organization: Red Hat Canada
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 */