aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-pretty-print.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2017-05-26 16:45:59 +0200
committerMartin Liska <marxin@gcc.gnu.org>2017-05-26 14:45:59 +0000
commit9d9573d50901fed54d0d6404d0e96eaceff595ba (patch)
treeb33f0e1b60f77c896c3606a32f60f305bb200053 /gcc/gimple-pretty-print.c
parentf8d0706b24ff84eb0adfa161819e71a80f5a918a (diff)
downloadgcc-9d9573d50901fed54d0d6404d0e96eaceff595ba.zip
gcc-9d9573d50901fed54d0d6404d0e96eaceff595ba.tar.gz
gcc-9d9573d50901fed54d0d6404d0e96eaceff595ba.tar.bz2
Simplify usage of some TDF_* flags.
2017-05-26 Martin Liska <mliska@suse.cz> * cfg.c (check_bb_profile): Do not use TDF_COMMENT and print always leading ';; '. (dump_bb_info): Likewise. (brief_dump_cfg): Likewise. * cfgrtl.c (print_rtl_with_bb): Do not use TDF_COMMENT. * dumpfile.c: Remove usage of TDF_VERBOSE. * dumpfile.h (enum dump_kind): Likewise. (dump_gimple_bb_header): Do not use TDF_COMMENT. * print-tree.c (debug_verbose): Remove. * tree-cfg.c (gimple_dump_cfg): Do not use TDF_COMMENT. (dump_function_to_file): Remove dumps guarded with TDF_VERBOSE. * tree-diagnostic.c (default_tree_printer): Replace TDF_DIAGNOSTIC with TDF_SLIM. From-SVN: r248514
Diffstat (limited to 'gcc/gimple-pretty-print.c')
-rw-r--r--gcc/gimple-pretty-print.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/gimple-pretty-print.c b/gcc/gimple-pretty-print.c
index c99dfe1..5ff63a1 100644
--- a/gcc/gimple-pretty-print.c
+++ b/gcc/gimple-pretty-print.c
@@ -2641,8 +2641,7 @@ dump_gimple_bb_header (FILE *outf, basic_block bb, int indent,
{
gimple_stmt_iterator gsi;
- if (flags & TDF_COMMENT)
- fputs (";; ", outf);
+ fputs (";; ", outf);
for (gsi = gsi_start_bb (bb); !gsi_end_p (gsi); gsi_next (&gsi))
if (!is_gimple_debug (gsi_stmt (gsi))