diff options
author | Tom de Vries <tom@codesourcery.com> | 2016-04-17 05:22:33 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2016-04-17 05:22:33 +0000 |
commit | 182c78687e6cf481c4d8e8fce99a0f293510adb7 (patch) | |
tree | 97b74889cb3b1dc20672ef13dd4e303c8125a677 /gcc/tree-pass.h | |
parent | c5e2d17df05391834d97d4ceaa1007af1d2fc038 (diff) | |
download | gcc-182c78687e6cf481c4d8e8fce99a0f293510adb7.zip gcc-182c78687e6cf481c4d8e8fce99a0f293510adb7.tar.gz gcc-182c78687e6cf481c4d8e8fce99a0f293510adb7.tar.bz2 |
Only finalize dot files that have been initialized
2016-04-17 Tom de Vries <tom@codesourcery.com>
PR other/70185
* tree-pass.h (class opt_pass): Remove graph_dump_initialized member.
* dumpfile.h (struct dump_file_info): Add graph_dump_initialized field.
* dumpfile.c (dump_files): Initialize graph_dump_initialized field.
* passes.c (finish_optimization_passes): Only call
finish_graph_dump_file if dfi->graph_dump_initialized.
(execute_function_dump, pass_init_dump_file): Use
dfi->graph_dump_initialized instead of pass->graph_dump_initialized.
From-SVN: r235074
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r-- | gcc/tree-pass.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h index 5f5055d..cd8c339 100644 --- a/gcc/tree-pass.h +++ b/gcc/tree-pass.h @@ -108,11 +108,6 @@ public: /* Static pass number, used as a fragment of the dump file name. */ int static_pass_number; - /* When a given dump file is being initialized, this flag is set to - true if the corresponding TDF_graph dump file has also been - initialized. */ - bool graph_dump_initialized; - protected: gcc::context *m_ctxt; }; |