From dc3f38050535e8904dce2fd02c6efb6cf91eea3d Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Wed, 20 Dec 2017 12:51:57 +0000 Subject: poly_int: dump routines 2017-12-20 Richard Sandiford Alan Hayward David Sherwood gcc/ * dumpfile.h (dump_dec): Declare. * dumpfile.c (dump_dec): New function. * pretty-print.h (pp_wide_integer): Turn into a function and declare a poly_int version. * pretty-print.c (pp_wide_integer): New function for poly_ints. Co-Authored-By: Alan Hayward Co-Authored-By: David Sherwood From-SVN: r255864 --- gcc/dumpfile.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/dumpfile.h') diff --git a/gcc/dumpfile.h b/gcc/dumpfile.h index 1b4d7e7..910452b 100644 --- a/gcc/dumpfile.h +++ b/gcc/dumpfile.h @@ -175,6 +175,9 @@ extern void dump_gimple_stmt (dump_flags_t, dump_flags_t, gimple *, int); extern void print_combine_total_stats (void); extern bool enable_rtl_dump_file (void); +template +void dump_dec (int, const poly_int &); + /* In tree-dump.c */ extern void dump_node (const_tree, dump_flags_t, FILE *); -- cgit v1.1