Hi. One obvious fix. The function is unused, thus no compilation errors was spotted.
I'm going to install the patch. Martin gcc/ChangeLog: 2018-06-08 Martin Liska <mli...@suse.cz> * tree-cfg.h (debug_function): Fix argument type to match implementation. --- gcc/tree-cfg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/tree-cfg.h b/gcc/tree-cfg.h index 73237a604be..9491bb45feb 100644 --- a/gcc/tree-cfg.h +++ b/gcc/tree-cfg.h @@ -81,7 +81,7 @@ extern void fold_loop_internal_call (gimple *, tree); extern basic_block move_sese_region_to_fn (struct function *, basic_block, basic_block, tree); extern void dump_function_to_file (tree, FILE *, dump_flags_t); -extern void debug_function (tree, int) ; +extern void debug_function (tree, dump_flags_t); extern void print_loops_bb (FILE *, basic_block, int, int); extern void print_loops (FILE *, int); extern void debug (struct loop &ref);