aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pretty-print.h
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2014-10-03 21:22:10 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2014-10-03 21:22:10 +0000
commitbb42836b34dca74aab99035ac236fa6e81b1d4c1 (patch)
tree9c4233d4502ee9e2a111926323f9eef01f8f6152 /gcc/tree-pretty-print.h
parentacbb0489b6d3db1ff6712fbda32405d45f0b8b30 (diff)
downloadgcc-bb42836b34dca74aab99035ac236fa6e81b1d4c1.zip
gcc-bb42836b34dca74aab99035ac236fa6e81b1d4c1.tar.gz
gcc-bb42836b34dca74aab99035ac236fa6e81b1d4c1.tar.bz2
tree-pretty-print.c (dump_location): Make it extern.
gcc/ChangeLog: 2014-10-03 Manuel López-Ibáñez <manu@gcc.gnu.org> * tree-pretty-print.c (dump_location): Make it extern. Dump also the column. * tree-pretty-print.h (dump_location): Declare. * gimple-pretty-print.c (dump_gimple_phi): Use dump_location. (pp_gimple_stmt_1): Likewise. (dump_implicit_edges): Likewise. * gimplify.c (gimplify_call_expr): Use LOCATION_FILE and LOCATION_LINE. gcc/testsuite/ChangeLog: 2014-10-03 Manuel López-Ibáñez <manu@gcc.gnu.org> * gcc.dg/tm/debug-1.c: Update regex. * c-c++-common/raw-string-18.c: Update regex. * c-c++-common/raw-string-19.c: Update regex. From-SVN: r215879
Diffstat (limited to 'gcc/tree-pretty-print.h')
-rw-r--r--gcc/tree-pretty-print.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-pretty-print.h b/gcc/tree-pretty-print.h
index d2ab0b7..bc73df7 100644
--- a/gcc/tree-pretty-print.h
+++ b/gcc/tree-pretty-print.h
@@ -50,5 +50,6 @@ extern void percent_K_format (text_info *);
extern void pp_tree_identifier (pretty_printer *, tree);
extern void dump_function_header (FILE *, tree, int);
extern void pp_double_int (pretty_printer *pp, double_int d, bool uns);
+extern void dump_location (pretty_printer *buffer, location_t loc);
#endif /* ! GCC_TREE_PRETTY_PRINT_H */