From: Jason Merrill Date: Wed, 29 Dec 2021 22:50:28 +0000 (-0500) Subject: tree-pretty-print: still indent unhandled codes X-Git-Tag: basepoints/gcc-13~2116 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=43359148b252b9501b0b570b8d48d02fb301b6c8;p=thirdparty%2Fgcc.git tree-pretty-print: still indent unhandled codes It would be nice to handle language-specific codes in the tree pretty-printer, but until then we can at least indent them appropriately. gcc/ChangeLog: * tree-pretty-print.c (do_niy): Add spc parameter. (NIY): Pass it. (print_call_name): Add spc local variable. --- diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index c2bdfb525d6c..352662567b4e 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -53,19 +53,19 @@ static const char *op_symbol (const_tree); 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, dump_flags_t); -static void do_niy (pretty_printer *, const_tree, dump_flags_t); +static void do_niy (pretty_printer *, const_tree, int, dump_flags_t); #define INDENT(SPACE) do { \ int i; for (i = 0; i