diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-04-15 15:07:43 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-04-15 15:07:43 +0200 |
commit | 51dbe4a05d67f3fe09dcd08336024293ef3fbd0c (patch) | |
tree | 151fd9b45ad09f61055a86f02d879a0a4715304f /gcc/tree-pretty-print.c | |
parent | e501fa8e154cc59310f6c497745ef18b44157706 (diff) | |
download | gcc-51dbe4a05d67f3fe09dcd08336024293ef3fbd0c.zip gcc-51dbe4a05d67f3fe09dcd08336024293ef3fbd0c.tar.gz gcc-51dbe4a05d67f3fe09dcd08336024293ef3fbd0c.tar.bz2 |
re PR c++/70675 (compare-debug failure building LLVM)
PR c++/70675
* tree-pretty-print.c (do_niy): Add FLAGS argument, pass it down
to dump_generic_node.
(NIY): Pass also flags to do_niy.
From-SVN: r235025
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r-- | gcc/tree-pretty-print.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index f8a6b43..c393d34 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -40,19 +40,19 @@ static void pretty_print_string (pretty_printer *, const char*); static void newline_and_indent (pretty_printer *, int); static void maybe_init_pretty_print (FILE *); static void print_struct_decl (pretty_printer *, const_tree, int, int); -static void do_niy (pretty_printer *, const_tree); +static void do_niy (pretty_printer *, const_tree, int); #define INDENT(SPACE) do { \ int i; for (i = 0; i<SPACE; i++) pp_space (pp); } while (0) -#define NIY do_niy (pp, node) +#define NIY do_niy (pp, node, flags) static pretty_printer *tree_pp; /* Try to print something for an unknown tree code. */ static void -do_niy (pretty_printer *pp, const_tree node) +do_niy (pretty_printer *pp, const_tree node, int flags) { int i, len; @@ -65,7 +65,7 @@ do_niy (pretty_printer *pp, const_tree node) for (i = 0; i < len; ++i) { newline_and_indent (pp, 2); - dump_generic_node (pp, TREE_OPERAND (node, i), 2, 0, false); + dump_generic_node (pp, TREE_OPERAND (node, i), 2, flags, false); } } |