aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorBasile Starynkevitch <bstarynk@gcc.gnu.org>2008-08-01 05:19:40 +0000
committerBasile Starynkevitch <bstarynk@gcc.gnu.org>2008-08-01 05:19:40 +0000
commit8e352cd32ce32dc689cd716921428709143f8920 (patch)
tree9484ffe873ca8d908800e707f82562aafe746b99 /gcc/passes.c
parentf2d6ca5081ba8fb31b5d03545f45cce12ac67b3f (diff)
downloadgcc-8e352cd32ce32dc689cd716921428709143f8920.zip
gcc-8e352cd32ce32dc689cd716921428709143f8920.tar.gz
gcc-8e352cd32ce32dc689cd716921428709143f8920.tar.bz2
tree-pass.h: Added comment about not dumping passes with name starting with star in struct...
2008-08-01 Basile Starynkevitch <basile@starynkevitch> * gcc/tree-pass.h: Added comment about not dumping passes with name starting with star in struct opt_pass. * gcc/passes.c (register_dump_files_1): Don't do dump for a pass with name starting with star. * gcc/doc/passes.texi (Pass manager): Mention pass names and special meaning of star prefix to avoid dump. From-SVN: r138450
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index c6f6c8a..400717f 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -406,7 +406,7 @@ register_dump_files_1 (struct opt_pass *pass, int properties)
int new_properties = (properties | pass->properties_provided)
& ~pass->properties_destroyed;
- if (pass->name)
+ if (pass->name && pass->name[0] != '*')
register_one_dump_file (pass);
if (pass->sub)