From a895a2b8a98464a019e6407e71769eb8aed99013 Mon Sep 17 00:00:00 2001 From: Kugan Vivekanandarajah Date: Mon, 23 Sep 2013 15:13:39 +0000 Subject: gimple-pretty-print.c (dump_ssaname_info): New function. 2013-09-23 Kugan Vivekanandarajah gcc/ * gimple-pretty-print.c (dump_ssaname_info): New function. (dump_gimple_phi): Call it. (pp_gimple_stmt_1): Likewise. * tree-core.h (tree_ssa_name): New union ssa_name_info_type field. (range_info_def): Declare. * tree-pretty-print.c (pp_double_int): New function. (dump_generic_node): Call it. * tree-pretty-print.h (pp_double_int): Declare. * tree-ssa-alias.c (dump_alias_info): Check pointer type. * tree-ssanames.h (range_info_def): New structure. (value_range_type): Move definition here. (set_range_info, value_range_type, duplicate_ssa_name_range_info): Declare. * tree-ssanames.c (make_ssa_name_fn): Check pointer type at initialization. (set_range_info): New function. (get_range_info): Likewise. (duplicate_ssa_name_range_info): Likewise. (duplicate_ssa_name_fn): Check pointer type and call duplicate_ssa_name_range_info. * tree-ssa-copy.c (fini_copy_prop): Likewise. * tree-vrp.c (value_range_type): Remove definition, now in tree-ssanames.h. (vrp_finalize): Call set_range_info to update value range of SSA_NAMEs. * tree.h (SSA_NAME_PTR_INFO): Macro changed to access via union. (SSA_NAME_RANGE_INFO): New macro. From-SVN: r202831 --- gcc/tree-pretty-print.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/tree-pretty-print.h') diff --git a/gcc/tree-pretty-print.h b/gcc/tree-pretty-print.h index 7da8000..ec421fa 100644 --- a/gcc/tree-pretty-print.h +++ b/gcc/tree-pretty-print.h @@ -23,6 +23,7 @@ along with GCC; see the file COPYING3. If not see #define GCC_TREE_PRETTY_PRINT_H #include "pretty-print.h" +#include "double-int.h" #define pp_unsupported_tree(PP, T) \ pp_verbatim (PP, "#%qs not supported by %s#", \ @@ -46,6 +47,7 @@ extern void debug_generic_stmt (tree); extern void debug_tree_chain (tree); extern void percent_K_format (text_info *); extern void dump_function_header (FILE *, tree, int); +extern void pp_double_int (pretty_printer *pp, double_int d, bool uns); /* In c-pretty-print.c */ extern void debug_c_tree (tree); -- cgit v1.1