diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-08-20 18:03:58 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2005-08-20 18:03:58 +0200 |
commit | 5e34206b7e8b20fc6a1cf420076b6461c40ab4da (patch) | |
tree | a4df578ab0cd10699ab3f63bdf10bd3ac48643fc /gcc/tree-pass.h | |
parent | b00d752c95b349b39530e12648f5a79b3e8c0956 (diff) | |
download | gcc-5e34206b7e8b20fc6a1cf420076b6461c40ab4da.zip gcc-5e34206b7e8b20fc6a1cf420076b6461c40ab4da.tar.gz gcc-5e34206b7e8b20fc6a1cf420076b6461c40ab4da.tar.bz2 |
tree-pass.h (TDF_GRAPH): Define.
* tree-pass.h (TDF_GRAPH): Define.
* tree-dump.c (dump_options): Don't set TDF_GRAPH in "all".
* passes.c (finish_optimization_passes): Only call
finish_graph_dump_file if TDF_GRAPH is set.
(execute_one_pass): Only call clean_graph_dump_file if dump_file !=
NULL. Set TDF_GRAPH bit.
(execute_todo): Call print_rtl_graph_with_bb if TDF_GRAPH is set.
* gcc.dg/20050811-1.c: New test.
* gcc.dg/20050811-2.c: New test.
From-SVN: r103304
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r-- | gcc/tree-pass.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h index 36b122c..57dc029 100644 --- a/gcc/tree-pass.h +++ b/gcc/tree-pass.h @@ -67,6 +67,8 @@ enum tree_dump_index #define TDF_IPA (1 << 11) /* is an IPA dump */ #define TDF_STMTADDR (1 << 12) /* Address of stmt. */ +#define TDF_GRAPH (1 << 13) /* a graph dump is being emitted */ + extern char *get_dump_file_name (enum tree_dump_index); extern int dump_enabled_p (enum tree_dump_index); extern int dump_initialized_p (enum tree_dump_index); |