aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-diagnostic.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/tree-diagnostic.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/tree-diagnostic.c')
-rw-r--r--gcc/tree-diagnostic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-diagnostic.c b/gcc/tree-diagnostic.c
index 4f211ed..1009c78 100644
--- a/gcc/tree-diagnostic.c
+++ b/gcc/tree-diagnostic.c
@@ -26,7 +26,6 @@ along with GCC; see the file COPYING3. If not see
#include "diagnostic.h"
#include "tree-pretty-print.h"
#include "tree-diagnostic.h"
-#include "dumpfile.h" /* TDF_DIAGNOSTIC */
#include "langhooks.h"
#include "intl.h"
@@ -294,7 +293,7 @@ default_tree_printer (pretty_printer *pp, text_info *text, const char *spec,
pp_string (pp, n);
}
else
- dump_generic_node (pp, t, 0, TDF_DIAGNOSTIC, 0);
+ dump_generic_node (pp, t, 0, TDF_SLIM, 0);
return true;
}