tree-pass.h (TDF_GRAPH): Define.
authorJakub Jelinek <jakub@redhat.com>
Sat, 20 Aug 2005 16:03:58 +0000 (18:03 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 20 Aug 2005 16:03:58 +0000 (18:03 +0200)
commit5e34206b7e8b20fc6a1cf420076b6461c40ab4da
treea4df578ab0cd10699ab3f63bdf10bd3ac48643fc
parentb00d752c95b349b39530e12648f5a79b3e8c0956
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
gcc/ChangeLog
gcc/passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20050811-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/20050811-2.c [new file with mode: 0644]
gcc/tree-dump.c
gcc/tree-pass.h