diff options
45 files changed, 1063 insertions, 118 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 67d1184f21a..4bbae632d8e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,177 @@ +2013-03-28 Lawrence Crowl <crowl@google.com> + + * Makefile.in: Add several missing include dependences. + (DUMPFILE_H): New. + (test-dump.o): New. This object is not added to any executable, + but is present for ad-hoc testing. + * bitmap.c + (debug (const bitmap_head_def &)): New. + (debug (const bitmap_head_def *)): New. + * bitmap.h + (extern debug (const bitmap_head_def &)): New. + (extern debug (const bitmap_head_def *)): New. + * cfg.c + (debug (edge_def &)): New. + (debug (edge_def *)): New. + * cfghooks.c + (debug (basic_block_def &)): New. + (debug (basic_block_def *)): New. + * dumpfile.h + (dump_node (const_tree, int, FILE *)): Correct source file. + * dwarf2out.c + (debug (die_struct &)): New. + (debug (die_struct *)): New. + * dwarf2out.h + (extern debug (die_struct &)): New. + (extern debug (die_struct *)): New. + * gimple-pretty-print.c + (debug (gimple_statement_d &)): New. + (debug (gimple_statement_d *)): New. + * gimple-pretty-print.h + (extern debug (gimple_statement_d &)): New. + (extern debug (gimple_statement_d *)): New. + * ira-build.c + (debug (ira_allocno_copy &)): New. + (debug (ira_allocno_copy *)): New. + (debug (ira_allocno &)): New. + (debug (ira_allocno *)): New. + * ira-int.h + (extern debug (ira_allocno_copy &)): New. + (extern debug (ira_allocno_copy *)): New. + (extern debug (ira_allocno &)): New. + (extern debug (ira_allocno *)): New. + * ira-lives.c + (debug (live_range &)): New. + (debug (live_range *)): New. + * lra-int.h + (debug (lra_live_range &)): New. + (debug (lra_live_range *)): New. + * lra-lives.c + (debug (lra_live_range &)): New. + (debug (lra_live_range *)): New. + * omega.c + (debug (omega_pb_d &)): New. + (debug (omega_pb_d *)): New. + * omega.h + (extern debug (omega_pb_d &)): New. + (extern debug (omega_pb_d *)): New. + * print-rtl.c + (debug (const rtx_def &)): New. + (debug (const rtx_def *)): New. + * print-tree.c + (debug_tree (tree): Move within file. + (debug_raw (const tree_node &)): New. + (debug_raw (const tree_node *)): New. + (dump_tree_via_hooks (const tree_node *, int)): New. + (debug (const tree_node &)): New. + (debug (const tree_node *)): New. + (debug_verbose (const tree_node &)): New. + (debug_verbose (const tree_node *)): New. + (debug_head (const tree_node &)): New. + (debug_head (const tree_node *)): New. + (debug_body (const tree_node &)): New. + (debug_body (const tree_node *)): New. + (debug_vec_tree (tree): Move and reimplement in terms of dump. + (debug (vec<tree, va_gc> &)): New. + (debug (vec<tree, va_gc> *)): New. + * rtl.h + (extern debug (const rtx_def &)): New. + (extern debug (const rtx_def *)): New. + * sbitmap.c + (debug_raw (simple_bitmap_def &)): New. + (debug_raw (simple_bitmap_def *)): New. + (debug (simple_bitmap_def &)): New. + (debug (simple_bitmap_def *)): New. + * sbitmap.h + (extern debug (simple_bitmap_def &)): New. + (extern debug (simple_bitmap_def *)): New. + (extern debug_raw (simple_bitmap_def &)): New. + (extern debug_raw (simple_bitmap_def *)): New. + * sel-sched-dump.c + (debug (vinsn_def &)): New. + (debug (vinsn_def *)): New. + (debug_verbose (vinsn_def &)): New. + (debug_verbose (vinsn_def *)): New. + (debug (expr_def &)): New. + (debug (expr_def *)): New. + (debug_verbose (expr_def &)): New. + (debug_verbose (expr_def *)): New. + (debug (vec<rtx> &)): New. + (debug (vec<rtx> *)): New. + * sel-sched-dump.h + (extern debug (vinsn_def &)): New. + (extern debug (vinsn_def *)): New. + (extern debug_verbose (vinsn_def &)): New. + (extern debug_verbose (vinsn_def *)): New. + (extern debug (expr_def &)): New. + (extern debug (expr_def *)): New. + (extern debug_verbose (expr_def &)): New. + (extern debug_verbose (expr_def *)): New. + (extern debug (vec<rtx> &)): New. + (extern debug (vec<rtx> *)): New. + * sel-sched-ir.h + (_list_iter_cond_expr): Make inline instead of static. + * sreal.c + (debug (sreal &)): New. + (debug (sreal *)): New. + * sreal.h + (extern debug (sreal &)): New. + (extern debug (sreal *)): New. + * tree.h + (extern debug_raw (const tree_node &)): New. + (extern debug_raw (const tree_node *)): New. + (extern debug (const tree_node &)): New. + (extern debug (const tree_node *)): New. + (extern debug_verbose (const tree_node &)): New. + (extern debug_verbose (const tree_node *)): New. + (extern debug_head (const tree_node &)): New. + (extern debug_head (const tree_node *)): New. + (extern debug_body (const tree_node &)): New. + (extern debug_body (const tree_node *)): New. + (extern debug (vec<tree, va_gc> &)): New. + (extern debug (vec<tree, va_gc> *)): New. + * tree-cfg.c + (debug (struct loop &)): New. + (debug (struct loop *)): New. + (debug_verbose (struct loop &)): New. + (debug_verbose (struct loop *)): New. + * tree-dump.c: Add header dependence. + * tree-flow.h + (extern debug (struct loop &)): New. + (extern debug (struct loop *)): New. + (extern debug_verbose (struct loop &)): New. + (extern debug_verbose (struct loop *)): New. + * tree-data-ref.c + (debug (data_reference &)): New. + (debug (data_reference *)): New. + (debug (vec<data_reference_p> &)): New. + (debug (vec<data_reference_p> *)): New. + (debug (vec<ddr_p> &)): New. + (debug (vec<ddr_p> *)): New. + * tree-data-ref.h + (extern debug (data_reference &)): New. + (extern debug (data_reference *)): New. + (extern debug (vec<data_reference_p> &)): New. + (extern debug (vec<data_reference_p> *)): New. + (extern debug (vec<ddr_p> &)): New. + (extern debug (vec<ddr_p> *)): New. + * tree-ssa-alias.c + (debug (pt_solution &)): New. + (debug (pt_solution *)): New. + * tree-ssa-alias.h + (extern debug (pt_solution &)): New. + (extern debug (pt_solution *)): New. + * tree-ssa-alias.c + (debug (_var_map &)): New. + (debug (_var_map *)): New. + (debug (tree_live_info_d &)): New. + (debug (tree_live_info_d *)): New. + * tree-ssa-alias.h + (extern debug (_var_map &)): New. + (extern debug (_var_map *)): New. + (extern debug (tree_live_info_d &)): New. + (extern debug (tree_live_info_d *)): New. + 2013-03-28 Jan Hubicka <jh@suse.cz> * lto-cgraph.c (merge_profile_summaries): Fix overflows. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 54ec7e1260e..44533772722 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -834,6 +834,7 @@ REVISION_s := "\"\"" endif # Shorthand variables for dependency lists. +DUMPFILE_H = $(srcdir)/../libcpp/include/line-map.h dumpfile.h VEC_H = vec.h statistics.h $(GGC_H) HASH_TABLE_H = $(HASHTAB_H) hash-table.h EXCEPT_H = except.h $(HASHTAB_H) @@ -931,8 +932,8 @@ MKDEPS_H = $(srcdir)/../libcpp/include/mkdeps.h SYMTAB_H = $(srcdir)/../libcpp/include/symtab.h $(OBSTACK_H) CPP_ID_DATA_H = $(CPPLIB_H) $(srcdir)/../libcpp/include/cpp-id-data.h CPP_INTERNAL_H = $(srcdir)/../libcpp/internal.h $(CPP_ID_DATA_H) -TREE_DUMP_H = tree-dump.h $(SPLAY_TREE_H) dumpfile.h -TREE_PASS_H = tree-pass.h $(TIMEVAR_H) dumpfile.h +TREE_DUMP_H = tree-dump.h $(SPLAY_TREE_H) $(DUMPFILE_H) +TREE_PASS_H = tree-pass.h $(TIMEVAR_H) $(DUMPFILE_H) TREE_FLOW_H = tree-flow.h tree-flow-inline.h tree-ssa-operands.h \ $(BITMAP_H) sbitmap.h $(BASIC_BLOCK_H) $(GIMPLE_H) \ $(HASHTAB_H) $(CGRAPH_H) $(IPA_REFERENCE_H) \ @@ -953,7 +954,8 @@ TREE_DATA_REF_H = tree-data-ref.h $(OMEGA_H) graphds.h $(SCEV_H) TREE_INLINE_H = tree-inline.h REAL_H = real.h $(MACHMODE_H) IRA_INT_H = ira.h ira-int.h $(CFGLOOP_H) alloc-pool.h -LRA_INT_H = lra.h $(BITMAP_H) $(RECOG_H) $(INSN_ATTR_H) insn-codes.h lra-int.h +LRA_INT_H = lra.h $(BITMAP_H) $(RECOG_H) $(INSN_ATTR_H) insn-codes.h \ + insn-config.h $(REGS_H) lra-int.h DBGCNT_H = dbgcnt.h dbgcnt.def LTO_STREAMER_H = lto-streamer.h $(LINKER_PLUGIN_API_H) $(TARGET_H) \ $(CGRAPH_H) $(VEC_H) $(TREE_H) $(GIMPLE_H) \ @@ -1851,7 +1853,7 @@ gcc.srcextra: gengtype-lex.c graph.o: graph.c graph.h $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(DIAGNOSTIC_CORE_H) sbitmap.h $(BASIC_BLOCK_H) $(CFGLOOP_H) \ - $(PRETTY_PRINT_H) dumpfile.h + $(PRETTY_PRINT_H) $(DUMPFILE_H) sbitmap.o: sbitmap.c sbitmap.h $(CONFIG_H) $(SYSTEM_H) coretypes.h sparseset.o: sparseset.c $(SYSTEM_H) sparseset.h $(CONFIG_H) @@ -1956,7 +1958,7 @@ c-family/c-gimplify.o : c-family/c-gimplify.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(C_COMMON_H) $(DIAGNOSTIC_CORE_H) $(GIMPLE_H) \ $(FLAGS_H) langhooks.h $(LANGHOOKS_DEF_H) \ $(TM_H) coretypes.h $(C_PRETTY_PRINT_H) $(CGRAPH_H) \ - dumpfile.h $(TREE_INLINE_H) + $(DUMPFILE_H) $(TREE_INLINE_H) c-family/c-lex.o : c-family/c-lex.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(TM_H) $(TREE_H) $(FIXED_VALUE_H) debug.h $(C_COMMON_H) $(SPLAY_TREE_H) \ @@ -2000,7 +2002,7 @@ c-family/c-semantics.o : c-family/c-semantics.c $(CONFIG_H) $(SYSTEM_H) \ c-family/c-ada-spec.o : c-family/c-ada-spec.c c-family/c-ada-spec.h \ $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(CPP_ID_DATA_H) $(TM_H) \ - coretypes.h tree-iterator.h dumpfile.h + coretypes.h tree-iterator.h $(DUMPFILE_H) c-family/stub-objc.o : c-family/stub-objc.c $(CONFIG_H) $(SYSTEM_H) \ coretypes.h $(TREE_H) $(C_COMMON_H) c-family/c-objc.h @@ -2202,6 +2204,11 @@ langhooks.o : langhooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TIMEVAR_ $(TREE_H) toplev.h $(DIAGNOSTIC_CORE_H) $(TREE_INLINE_H) $(RTL_H) insn-config.h \ langhooks.h $(TARGET_H) $(LANGHOOKS_DEF_H) $(FLAGS_H) $(GGC_H) $(DIAGNOSTIC_H) \ intl.h $(GIMPLE_H) $(CGRAPH_H) output.h tree-diagnostic.h +test-dump.o : test-dump.c $(CONFIG_H) $(SYSTEM_H) $(CORETYPES_H) \ + $(BITMAP_H) sbitmap.h sreal.h $(TREE_H) $(CXX_PARSER_H) $(DWARF2OUT_H) \ + $(GIMPLE_PRETTY_PRINT_H) $(BASIC_BLOCK_H) insn-config.h $(LRA_INT.H) \ + $(SEL_SCHED_DUMP_H) $(IRA_INT_H) $(TREE_DATA_REF_H) $(TREE_FLOW_H) \ + $(TREE_SSA_LIVE_H) tree-ssa-alias.h $(OMEGA_H) $(RTL_H) tree.o: tree.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \ all-tree.def $(FLAGS_H) $(FUNCTION_H) $(PARAMS_H) \ toplev.h $(DIAGNOSTIC_CORE_H) $(GGC_H) $(HASHTAB_H) $(TARGET_H) output.h $(TM_P_H) \ @@ -2211,7 +2218,7 @@ tree.o: tree.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \ $(EXCEPT_H) debug.h intl.h tree-diagnostic.h $(TREE_PRETTY_PRINT_H) \ $(COMMON_TARGET_H) tree-dump.o: tree-dump.c $(CONFIG_H) $(SYSTEM_H) $(TM_H) $(TREE_H) \ - langhooks.h $(TREE_DUMP_H) tree-iterator.h + langhooks.h $(TREE_DUMP_H) tree-iterator.h $(TREE_PRETTY_PRINT_H) tree-inline.o : tree-inline.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ $(TREE_H) $(RTL_H) $(FLAGS_H) $(PARAMS_H) $(INPUT_H) insn-config.h \ $(HASHTAB_H) langhooks.h $(TREE_INLINE_H) $(CGRAPH_H) \ @@ -2219,9 +2226,9 @@ tree-inline.o : tree-inline.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ debug.h $(DIAGNOSTIC_H) $(EXCEPT_H) $(TREE_FLOW_H) tree-iterator.h tree-mudflap.h \ $(IPA_PROP_H) value-prof.h $(TREE_PASS_H) $(TARGET_H) \ $(TREE_PRETTY_PRINT_H) -print-tree.o : print-tree.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h \ +print-tree.o : print-tree.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) \ $(TM_H) $(TREE_H) $(GGC_H) langhooks.h tree-iterator.h \ - $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(GIMPLE_PRETTY_PRINT_H) + $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(GIMPLE_PRETTY_PRINT_H) $(TREE_DUMP_H) stor-layout.o : stor-layout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ $(TREE_H) $(PARAMS_H) $(FLAGS_H) $(FUNCTION_H) $(EXPR_H) $(RTL_H) \ $(GGC_H) $(TM_P_H) $(TARGET_H) langhooks.h $(REGS_H) gt-stor-layout.h \ @@ -2271,15 +2278,15 @@ tree-into-ssa.o : tree-into-ssa.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \ $(BITMAP_H) $(CFGLOOP_H) $(FLAGS_H) $(HASHTAB_H) \ $(GIMPLE_H) $(TREE_INLINE_H) $(GIMPLE_PRETTY_PRINT_H) tree-ssa-ter.o : tree-ssa-ter.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \ - $(TREE_H) $(DIAGNOSTIC_H) $(TM_H) coretypes.h dumpfile.h \ + $(TREE_H) $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(DUMPFILE_H) \ $(TREE_SSA_LIVE_H) $(BITMAP_H) $(FLAGS_H) \ $(GIMPLE_PRETTY_PRINT_H) tree-ssa-coalesce.o : tree-ssa-coalesce.c $(TREE_FLOW_H) $(CONFIG_H) \ - $(SYSTEM_H) $(TREE_H) $(DIAGNOSTIC_H) $(TM_H) coretypes.h dumpfile.h \ + $(SYSTEM_H) $(TREE_H) $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(DUMPFILE_H) \ $(TREE_SSA_LIVE_H) $(BITMAP_H) $(FLAGS_H) $(HASH_TABLE_H) \ $(TREE_PRETTY_PRINT_H) tree-outof-ssa.o : tree-outof-ssa.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \ - $(TREE_H) $(DIAGNOSTIC_H) $(TM_H) coretypes.h dumpfile.h \ + $(TREE_H) $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(DUMPFILE_H) \ $(TREE_SSA_LIVE_H) $(BASIC_BLOCK_H) $(BITMAP_H) $(GGC_H) \ $(EXPR_H) $(SSAEXPAND_H) $(GIMPLE_PRETTY_PRINT_H) tree-ssa-dse.o : tree-ssa-dse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ @@ -2316,7 +2323,7 @@ tree-ssa-copy.o : tree-ssa-copy.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \ $(FLAGS_H) $(CFGLOOP_H) $(GIMPLE_PRETTY_PRINT_H) tree-ssa-propagate.o : tree-ssa-propagate.c $(TREE_FLOW_H) $(CONFIG_H) \ $(SYSTEM_H) $(TREE_H) $(TM_P_H) \ - $(DIAGNOSTIC_H) $(FUNCTION_H) $(TM_H) coretypes.h dumpfile.h \ + $(DIAGNOSTIC_H) $(FUNCTION_H) $(TM_H) coretypes.h $(DUMPFILE_H) \ $(BASIC_BLOCK_H) langhooks.h \ tree-ssa-propagate.h $(VEC_H) value-prof.h gt-tree-ssa-propagate.h $(FLAGS_H) \ $(GIMPLE_H) $(GIMPLE_PRETTY_PRINT_H) @@ -2332,14 +2339,14 @@ tree-ssa-uncprop.o : tree-ssa-uncprop.c $(TREE_FLOW_H) $(CONFIG_H) \ $(BASIC_BLOCK_H) domwalk.h $(TREE_PASS_H) $(FLAGS_H) \ tree-ssa-propagate.h tree-ssa-threadedge.o : tree-ssa-threadedge.c $(TREE_FLOW_H) $(CONFIG_H) \ - $(SYSTEM_H) coretypes.h dumpfile.h $(TM_H) $(TREE_H) $(FLAGS_H) $(TM_P_H) \ - $(BASIC_BLOCK_H) $(CFGLOOP_H) \ + $(SYSTEM_H) coretypes.h $(DUMPFILE_H) $(TM_H) $(TREE_H) $(FLAGS_H) \ + $(TM_P_H) $(BASIC_BLOCK_H) $(CFGLOOP_H) \ $(FUNCTION_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TREE_FLOW_H) \ tree-ssa-propagate.h langhooks.h \ $(PARAMS_H) tree-ssa-threadupdate.o : tree-ssa-threadupdate.c $(TREE_FLOW_H) $(CONFIG_H) \ $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(HASH_TABLE_H) \ - $(DIAGNOSTIC_H) $(FUNCTION_H) $(TM_H) coretypes.h dumpfile.h \ + $(DIAGNOSTIC_H) $(FUNCTION_H) $(TM_H) coretypes.h $(DUMPFILE_H) \ $(BASIC_BLOCK_H) $(FLAGS_H) $(CFGLOOP_H) tree-ssanames.o : tree-ssanames.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(TM_H) $(TREE_H) $(TREE_FLOW_H) $(TREE_PASS_H) @@ -2349,7 +2356,7 @@ tree-phinodes.o : tree-phinodes.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ domwalk.o : domwalk.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ $(BASIC_BLOCK_H) domwalk.h sbitmap.h tree-ssa-live.o : tree-ssa-live.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \ - $(TREE_H) $(DIAGNOSTIC_H) $(TM_H) coretypes.h dumpfile.h $(TIMEVAR_H) \ + $(TREE_H) $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(DUMPFILE_H) $(TIMEVAR_H) \ $(TREE_SSA_LIVE_H) $(BITMAP_H) debug.h $(FLAGS_H) \ $(GIMPLE_PRETTY_PRINT_H) $(GIMPLE_H) tree-ssa-copyrename.o : tree-ssa-copyrename.c $(TREE_FLOW_H) $(CONFIG_H) \ @@ -2365,7 +2372,7 @@ tree-ssa-pre.o : tree-ssa-pre.c $(TREE_FLOW_H) $(CONFIG_H) \ $(DBGCNT_H) tree-scalar-evolution.h $(GIMPLE_PRETTY_PRINT_H) domwalk.h tree-ssa-sccvn.o : tree-ssa-sccvn.c $(TREE_FLOW_H) $(CONFIG_H) \ $(SYSTEM_H) $(TREE_H) $(DIAGNOSTIC_H) \ - $(TM_H) coretypes.h dumpfile.h $(FLAGS_H) $(CFGLOOP_H) \ + $(TM_H) coretypes.h $(DUMPFILE_H) $(FLAGS_H) $(CFGLOOP_H) \ alloc-pool.h $(BASIC_BLOCK_H) $(BITMAP_H) $(HASHTAB_H) $(GIMPLE_H) \ $(TREE_INLINE_H) tree-ssa-propagate.h tree-ssa-sccvn.h \ $(PARAMS_H) $(GIMPLE_PRETTY_PRINT_H) gimple-fold.h @@ -2420,8 +2427,8 @@ tree-dfa.o : tree-dfa.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \ $(TREE_PRETTY_PRINT_H) tree-ssa-operands.o : tree-ssa-operands.c $(TREE_FLOW_H) $(CONFIG_H) \ $(SYSTEM_H) $(TREE_H) $(GGC_H) $(DIAGNOSTIC_H) $(TREE_INLINE_H) \ - $(FLAGS_H) $(FUNCTION_H) $(TM_H) $(TIMEVAR_H) \ - coretypes.h dumpfile.h langhooks.h $(IPA_REFERENCE_H) $(GIMPLE_PRETTY_PRINT_H) + $(FLAGS_H) $(FUNCTION_H) $(TM_H) $(TIMEVAR_H) coretypes.h $(DUMPFILE_H) \ + langhooks.h $(IPA_REFERENCE_H) $(GIMPLE_PRETTY_PRINT_H) tree-eh.o : tree-eh.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \ $(TREE_H) $(TM_H) $(FLAGS_H) $(FUNCTION_H) $(EXCEPT_H) langhooks.h \ $(GGC_H) $(TREE_PASS_H) coretypes.h pointer-set.h \ @@ -2438,13 +2445,13 @@ tree-ssa-loop-unswitch.o : tree-ssa-loop-unswitch.c $(TREE_FLOW_H) \ $(TREE_INLINE_H) tree-ssa-address.o : tree-ssa-address.c $(TREE_FLOW_H) $(CONFIG_H) \ $(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) \ - $(DIAGNOSTIC_H) $(TM_H) coretypes.h dumpfile.h \ + $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(DUMPFILE_H) \ $(FLAGS_H) $(TREE_INLINE_H) $(RECOG_H) insn-config.h \ $(EXPR_H) gt-tree-ssa-address.h $(GGC_H) tree-affine.h $(TARGET_H) \ $(TREE_PRETTY_PRINT_H) expmed.h tree-ssa-loop-niter.o : tree-ssa-loop-niter.c $(TREE_FLOW_H) $(CONFIG_H) \ $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) $(PARAMS_H) \ - $(TREE_INLINE_H) $(DIAGNOSTIC_H) $(TM_H) coretypes.h dumpfile.h \ + $(TREE_INLINE_H) $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(DUMPFILE_H) \ $(DIAGNOSTIC_CORE_H) $(FLAGS_H) $(TREE_DATA_REF_H) \ $(BASIC_BLOCK_H) $(GGC_H) intl.h $(GIMPLE_PRETTY_PRINT_H) $(TREE_PASS_H) tree-ssa-loop-ivcanon.o : tree-ssa-loop-ivcanon.c $(TREE_FLOW_H) $(CONFIG_H) \ @@ -2476,10 +2483,10 @@ tree-ssa-loop-ivopts.o : tree-ssa-loop-ivopts.c $(TREE_FLOW_H) $(CONFIG_H) \ $(GIMPLE_PRETTY_PRINT_H) tree-ssa-propagate.h tree-affine.o : tree-affine.c tree-affine.h $(CONFIG_H) pointer-set.h \ $(SYSTEM_H) $(TREE_H) $(GIMPLE_H) \ - coretypes.h dumpfile.h $(FLAGS_H) \ + coretypes.h $(DUMPFILE_H) $(FLAGS_H) \ $(TREE_PRETTY_PRINT_H) tree-ssa-loop-manip.o : tree-ssa-loop-manip.c $(TREE_FLOW_H) $(CONFIG_H) \ - $(SYSTEM_H) coretypes.h dumpfile.h $(TM_H) $(TREE_H) \ + $(SYSTEM_H) coretypes.h $(DUMPFILE_H) $(TM_H) $(TREE_H) \ $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) $(TREE_FLOW_H) \ $(CFGLOOP_H) $(TREE_PASS_H) \ $(SCEV_H) $(PARAMS_H) $(TREE_INLINE_H) langhooks.h @@ -2494,7 +2501,7 @@ tree-ssa-math-opts.o : tree-ssa-math-opts.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DIAGNOSTIC_H) $(RTL_H) $(EXPR_H) $(OPTABS_H) $(GIMPLE_PRETTY_PRINT_H) tree-ssa-alias.o : tree-ssa-alias.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \ $(TREE_H) $(TM_P_H) $(GGC_H) $(TREE_INLINE_H) $(FLAGS_H) \ - $(FUNCTION_H) $(TIMEVAR_H) convert.h $(TM_H) coretypes.h dumpfile.h \ + $(FUNCTION_H) $(TIMEVAR_H) convert.h $(TM_H) coretypes.h $(DUMPFILE_H) \ langhooks.h \ $(PARAMS_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) \ $(GIMPLE_H) $(VEC_H) $(TARGET_H) \ @@ -2522,8 +2529,8 @@ gimplify.o : gimplify.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(GIMPLE_H) \ $(SPLAY_TREE_H) $(VEC_H) tree-iterator.h $(TREE_PASS_H) $(TREE_PRETTY_PRINT_H) gimple-iterator.o : gimple-iterator.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(TREE_H) $(GIMPLE_H) $(TREE_FLOW_H) value-prof.h -gimple-fold.o : gimple-fold.c $(TREE_FLOW_H) $(CONFIG_H) coretypes.h dumpfile.h \ - $(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(GGC_H) \ +gimple-fold.o : gimple-fold.c $(TREE_FLOW_H) $(CONFIG_H) coretypes.h \ + $(DUMPFILE_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(GGC_H) \ $(FUNCTION_H) $(TM_H) $(BASIC_BLOCK_H) langhooks.h \ tree-ssa-propagate.h $(FLAGS_H) $(TARGET_H) gimple-fold.h gimple-low.o : gimple-low.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \ @@ -2538,15 +2545,16 @@ omp-low.o : omp-low.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \ $(CFGLOOP_H) tree-iterator.h gt-omp-low.h tree-browser.o : tree-browser.c tree-browser.def $(CONFIG_H) $(SYSTEM_H) \ coretypes.h $(TREE_H) $(TREE_PRETTY_PRINT_H) -omega.o : omega.c $(OMEGA_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h \ +omega.o : omega.c $(OMEGA_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) \ $(TREE_H) $(DIAGNOSTIC_CORE_H) -tree-chrec.o : tree-chrec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h \ +tree-chrec.o : tree-chrec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) \ $(TREE_PRETTY_PRINT_H) $(CFGLOOP_H) $(TREE_FLOW_H) $(SCEV_H) \ $(PARAMS_H) tree-scalar-evolution.o : tree-scalar-evolution.c $(CONFIG_H) $(SYSTEM_H) \ - coretypes.h dumpfile.h $(GIMPLE_PRETTY_PRINT_H) $(TREE_FLOW_H) $(CFGLOOP_H) $(SCEV_H) \ - $(PARAMS_H) gt-tree-scalar-evolution.h -tree-data-ref.o : tree-data-ref.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h \ + coretypes.h $(DUMPFILE_H) $(GIMPLE_PRETTY_PRINT_H) $(TREE_FLOW_H) \ + $(CFGLOOP_H) $(SCEV_H) $(PARAMS_H) gt-tree-scalar-evolution.h +tree-data-ref.o : tree-data-ref.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ + $(DUMPFILE_H) \ $(GIMPLE_PRETTY_PRINT_H) $(TREE_FLOW_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) \ langhooks.h tree-affine.h $(PARAMS_H) sese.o : sese.c sese.h $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_PRETTY_PRINT_H) \ @@ -2556,7 +2564,7 @@ graphite.o : graphite.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DIAGNOSTIC_CORE_H) $(DBGCNT_H) graphite-poly.h graphite-scop-detection.h \ graphite-clast-to-gimple.h graphite-sese-to-poly.h graphite-blocking.o : graphite-blocking.c $(CONFIG_H) $(SYSTEM_H) \ - coretypes.h dumpfile.h $(TREE_FLOW_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) \ + coretypes.h $(DUMPFILE_H) $(TREE_FLOW_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) \ sese.h graphite-poly.h graphite-clast-to-gimple.o : graphite-clast-to-gimple.c $(CONFIG_H) \ $(SYSTEM_H) coretypes.h $(DIAGNOSTIC_CORE_H) $(TREE_FLOW_H) $(TREE_PASS_H) \ @@ -2566,10 +2574,10 @@ graphite-dependences.o : graphite-dependences.c $(CONFIG_H) $(SYSTEM_H) \ coretypes.h $(TREE_FLOW_H) $(TREE_PASS_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) \ sese.h graphite-poly.h graphite-interchange.o : graphite-interchange.c $(CONFIG_H) $(SYSTEM_H) \ - coretypes.h dumpfile.h $(TREE_FLOW_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) \ + coretypes.h $(DUMPFILE_H) $(TREE_FLOW_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) \ sese.h graphite-poly.h -graphite-poly.o : graphite-poly.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h \ - $(DIAGNOSTIC_CORE_H) $(TREE_FLOW_H) $(GIMPLE_PRETTY_PRINT_H) \ +graphite-poly.o : graphite-poly.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ + $(DUMPFILE_H) $(DIAGNOSTIC_CORE_H) $(TREE_FLOW_H) $(GIMPLE_PRETTY_PRINT_H) \ $(CFGLOOP_H) $(TREE_DATA_REF_H) sese.h graphite-poly.h graphite-scop-detection.o : graphite-scop-detection.c $(CONFIG_H) $(SYSTEM_H) \ coretypes.h $(TREE_FLOW_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) $(TREE_PASS_H) \ @@ -2579,40 +2587,40 @@ graphite-sese-to-poly.o : graphite-sese-to-poly.c $(CONFIG_H) \ $(TREE_DATA_REF_H) domwalk.h sese.h graphite-poly.h \ graphite-sese-to-poly.h graphite-optimize-isl.o : graphite-optimize-isl.c $(CONFIG_H) $(SYSTEM_H) \ - coretypes.h dumpfile.h $(TREE_FLOW_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) $(SCEV_H) \ - sese.h graphite-poly.h + coretypes.h $(DUMPFILE_H) $(TREE_FLOW_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) \ + $(SCEV_H) sese.h graphite-poly.h tree-vect-loop.o: tree-vect-loop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ - $(TM_H) $(GGC_H) $(TREE_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) dumpfile.h \ + $(TM_H) $(GGC_H) $(TREE_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) $(DUMPFILE_H) \ $(CFGLOOP_H) $(EXPR_H) $(RECOG_H) $(OPTABS_H) \ $(DIAGNOSTIC_CORE_H) $(SCEV_H) $(TREE_VECTORIZER_H) \ $(GIMPLE_PRETTY_PRINT_H) $(TARGET_H) $(TREE_DATA_REF_H) tree-vect-loop-manip.o: tree-vect-loop-manip.c $(CONFIG_H) $(SYSTEM_H) \ - coretypes.h dumpfile.h $(TM_H) $(GGC_H) $(TREE_H) $(BASIC_BLOCK_H) \ + coretypes.h $(DUMPFILE_H) $(TM_H) $(GGC_H) $(TREE_H) $(BASIC_BLOCK_H) \ $(TREE_FLOW_H) $(CFGLOOP_H) $(DIAGNOSTIC_CORE_H) \ $(SCEV_H) $(TREE_VECTORIZER_H) langhooks.h $(GIMPLE_PRETTY_PRINT_H) tree-vect-patterns.o: tree-vect-patterns.c $(CONFIG_H) $(SYSTEM_H) \ - coretypes.h dumpfile.h \ + coretypes.h $(DUMPFILE_H) \ $(TM_H) $(GGC_H) $(TREE_H) $(TARGET_H) $(BASIC_BLOCK_H) \ $(TREE_FLOW_H) $(CFGLOOP_H) $(EXPR_H) $(OPTABS_H) $(PARAMS_H) \ $(TREE_DATA_REF_H) $(TREE_VECTORIZER_H) $(RECOG_H) $(DIAGNOSTIC_CORE_H) \ $(GIMPLE_PRETTY_PRINT_H) tree-vect-slp.o: tree-vect-slp.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ - dumpfile.h $(TM_H) $(GGC_H) $(TREE_H) $(TARGET_H) $(BASIC_BLOCK_H) \ + $(DUMPFILE_H) $(TM_H) $(GGC_H) $(TREE_H) $(TARGET_H) $(BASIC_BLOCK_H) \ $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(CFGLOOP_H) \ $(EXPR_H) $(RECOG_H) $(OPTABS_H) $(TREE_VECTORIZER_H) \ $(GIMPLE_PRETTY_PRINT_H) $(TREE_DATA_REF_H) langhooks.h tree-vect-stmts.o: tree-vect-stmts.c $(CONFIG_H) $(SYSTEM_H) \ - coretypes.h dumpfile.h $(TM_H) $(GGC_H) $(TREE_H) $(TARGET_H) \ + coretypes.h $(DUMPFILE_H) $(TM_H) $(GGC_H) $(TREE_H) $(TARGET_H) \ $(BASIC_BLOCK_H) $(TREE_FLOW_H) $(CFGLOOP_H) \ $(EXPR_H) $(RECOG_H) $(OPTABS_H) $(TREE_VECTORIZER_H) \ langhooks.h $(GIMPLE_PRETTY_PRINT_H) tree-vect-data-refs.o: tree-vect-data-refs.c $(CONFIG_H) $(SYSTEM_H) \ - coretypes.h dumpfile.h $(TM_H) $(GGC_H) $(TREE_H) $(TARGET_H) $(BASIC_BLOCK_H) \ - $(TREE_FLOW_H) $(CFGLOOP_H) \ + coretypes.h $(DUMPFILE_H) $(TM_H) $(GGC_H) $(TREE_H) $(TARGET_H) \ + $(BASIC_BLOCK_H) $(TREE_FLOW_H) $(CFGLOOP_H) \ $(EXPR_H) $(OPTABS_H) $(SCEV_H) $(TREE_VECTORIZER_H) \ $(DIAGNOSTIC_CORE_H) $(TM_P_H) $(GIMPLE_PRETTY_PRINT_H) tree-vectorizer.o: tree-vectorizer.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ - dumpfile.h $(TM_H) $(GGC_H) $(TREE_H) $(TREE_FLOW_H) \ + $(DUMPFILE_H) $(TM_H) $(GGC_H) $(TREE_H) $(TREE_FLOW_H) \ $(CFGLOOP_H) $(TREE_PASS_H) $(TREE_VECTORIZER_H) \ $(TREE_PRETTY_PRINT_H) tree-loop-distribution.o: tree-loop-distribution.c $(CONFIG_H) $(SYSTEM_H) \ @@ -2633,7 +2641,7 @@ gimple.o : gimple.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \ $(TREE_FLOW_H) value-prof.h $(FLAGS_H) $(DEMANGLE_H) \ $(TARGET_H) $(ALIAS_H) gimple-pretty-print.o : gimple-pretty-print.c $(CONFIG_H) $(SYSTEM_H) \ - coretypes.h dumpfile.h \ + coretypes.h $(DUMPFILE_H) \ $(TREE_H) $(DIAGNOSTIC_H) $(HASHTAB_H) $(TREE_FLOW_H) \ $(TM_H) $(GIMPLE_H) value-prof.h \ $(TRANS_MEM_H) $(GIMPLE_PRETTY_PRINT_H) @@ -2648,9 +2656,10 @@ tree-nomudflap.o : $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(TREE_INLINE_H) \ $(GGC_H) gt-tree-mudflap.h $(TREE_PASS_H) $(DIAGNOSTIC_CORE_H) tree-pretty-print.o : tree-pretty-print.c $(CONFIG_H) $(SYSTEM_H) \ $(TREE_H) $(DIAGNOSTIC_H) $(HASHTAB_H) $(TREE_FLOW_H) \ - $(TM_H) coretypes.h dumpfile.h tree-iterator.h $(SCEV_H) langhooks.h \ + $(TM_H) coretypes.h $(DUMPFILE_H) tree-iterator.h $(SCEV_H) langhooks.h \ value-prof.h output.h $(TREE_PRETTY_PRINT_H) -tree-diagnostic.o : tree-diagnostic.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h \ +tree-diagnostic.o : tree-diagnostic.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ + $(DUMPFILE_H) \ $(TREE_H) $(DIAGNOSTIC_H) tree-diagnostic.h langhooks.h $(LANGHOOKS_DEF_H) \ $(VEC_H) $(TREE_PRETTY_PRINT_H) fold-const.o : fold-const.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ @@ -2661,7 +2670,7 @@ diagnostic.o : diagnostic.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ version.h $(DEMANGLE_H) $(INPUT_H) intl.h $(BACKTRACE_H) $(DIAGNOSTIC_H) \ diagnostic.def opts.o : opts.c $(OPTS_H) $(OPTIONS_H) $(DIAGNOSTIC_CORE_H) $(CONFIG_H) $(SYSTEM_H) \ - coretypes.h dumpfile.h $(TM_H) \ + coretypes.h $(DUMPFILE_H) $(TM_H) \ $(DIAGNOSTIC_H) insn-attr-common.h intl.h $(COMMON_TARGET_H) \ $(FLAGS_H) $(PARAMS_H) opts-diagnostic.h opts-global.o : opts-global.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ @@ -2731,8 +2740,8 @@ rtl-error.o: rtl-error.c $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_ERROR_H) \ rtl.o : rtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \ $(GGC_H) $(BCONFIG_H) insn-notes.def reg-notes.def $(DIAGNOSTIC_CORE_H) -print-rtl.o : print-rtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h $(TM_H) \ - $(RTL_H) $(TREE_H) hard-reg-set.h $(BASIC_BLOCK_H) $(FLAGS_H) \ +print-rtl.o : print-rtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) \ + $(TM_H) $(RTL_H) $(TREE_H) hard-reg-set.h $(BASIC_BLOCK_H) $(FLAGS_H) \ $(BCONFIG_H) $(DIAGNOSTIC_H) cselib.h $(TREE_PRETTY_PRINT_H) \ $(DWARF2OUT_H) rtlanal.o : rtlanal.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(DIAGNOSTIC_CORE_H) \ @@ -2755,7 +2764,8 @@ function.o : function.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_ERROR_ $(COMMON_TARGET_H) statistics.o : statistics.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(TREE_PASS_H) $(TREE_DUMP_H) $(HASHTAB_H) statistics.h $(FUNCTION_H) -stmt.o : stmt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h $(TM_H) $(RTL_H) \ +stmt.o : stmt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) $(TM_H) \ + $(RTL_H) \ $(TREE_H) $(FLAGS_H) $(FUNCTION_H) insn-config.h hard-reg-set.h $(EXPR_H) \ $(LIBFUNCS_H) $(EXCEPT_H) $(RECOG_H) $(DIAGNOSTIC_CORE_H) \ output.h $(GGC_H) $(TM_P_H) langhooks.h $(PREDICT_H) $(OPTABS_H) \ @@ -2814,7 +2824,7 @@ sdbout.o : sdbout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) debug.h \ $(TREE_H) $(GGC_H) $(RTL_H) $(REGS_H) $(FLAGS_H) insn-config.h \ output.h $(DIAGNOSTIC_CORE_H) $(TM_P_H) gsyms.h langhooks.h $(TARGET_H) sdbout.h \ gt-sdbout.h reload.h -dwarf2out.o : dwarf2out.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h \ +dwarf2out.o : dwarf2out.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) \ $(TM_H) $(TREE_H) version.h $(RTL_H) $(DWARF2_H) debug.h $(FLAGS_H) \ insn-config.h output.h $(DIAGNOSTIC_H) hard-reg-set.h $(REGS_H) $(EXPR_H) \ toplev.h $(DIAGNOSTIC_CORE_H) $(DWARF2OUT_H) reload.h \ @@ -2860,7 +2870,7 @@ simplify-rtx.o : simplify-rtx.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ symtab.o : symtab.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \ langhooks.h $(DIAGNOSTIC_CORE_H) $(FLAGS_H) $(GGC_H) $(TARGET_H) $(CGRAPH_H) \ $(TIMEVAR_H) $(HASHTAB_H) gt-symtab.h -cgraph.o : cgraph.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h \ +cgraph.o : cgraph.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) \ $(TM_H) $(TREE_H) $(TIMEVAR_H) \ langhooks.h toplev.h $(DIAGNOSTIC_CORE_H) $(FLAGS_H) $(GGC_H) $(TARGET_H) $(CGRAPH_H) \ gt-cgraph.h intl.h $(BASIC_BLOCK_H) debug.h $(HASHTAB_H) \ @@ -2929,7 +2939,7 @@ ipa-inline-transform.o : ipa-inline-transform.c $(CONFIG_H) $(SYSTEM_H) coretype $(HASHTAB_H) $(COVERAGE_H) $(GGC_H) $(TREE_FLOW_H) $(IPA_PROP_H) \ $(TREE_PASS_H) ipa-utils.o : ipa-utils.c $(IPA_UTILS_H) $(CONFIG_H) $(SYSTEM_H) \ - coretypes.h dumpfile.h $(TM_H) $(TREE_H) $(TREE_FLOW_H) $(TREE_INLINE_H) \ + coretypes.h $(DUMPFILE_H) $(TM_H) $(TREE_H) $(TREE_FLOW_H) $(TREE_INLINE_H) \ langhooks.h pointer-set.h $(GGC_H) $(GIMPLE_H) $(SPLAY_TREE_H) \ $(CGRAPH_H) $(FLAGS_H) $(DIAGNOSTIC_H) ipa-reference.o : ipa-reference.c $(CONFIG_H) $(SYSTEM_H) \ @@ -2944,12 +2954,14 @@ ipa-pure-const.o : ipa-pure-const.c $(CONFIG_H) $(SYSTEM_H) \ $(GIMPLE_H) $(CGRAPH_H) $(FLAGS_H) $(TREE_PASS_H) \ $(DIAGNOSTIC_H) $(CFGLOOP_H) $(SCEV_H) $(LTO_STREAMER_H) \ $(GIMPLE_PRETTY_PRINT_H) $(DATA_STREAMER_H) $(TREE_STREAMER_H) -coverage.o : coverage.c $(GCOV_IO_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h \ +coverage.o : coverage.c $(GCOV_IO_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h \ + $(DUMPFILE_H) \ $(TM_H) $(RTL_H) $(TREE_H) $(FLAGS_H) output.h $(REGS_H) $(EXPR_H) \ $(FUNCTION_H) $(BASIC_BLOCK_H) toplev.h $(DIAGNOSTIC_CORE_H) $(GGC_H) langhooks.h $(COVERAGE_H) \ tree-iterator.h $(CGRAPH_H) gcov-io.c $(TM_P_H) \ $(DIAGNOSTIC_CORE_H) intl.h gt-coverage.h $(TARGET_H) $(HASH_TABLE_H) -cselib.o : cselib.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h $(TM_H) $(RTL_H) \ +cselib.o : cselib.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) \ + $(TM_H) $(RTL_H) \ $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h $(RECOG_H) \ $(EMIT_RTL_H) $(DIAGNOSTIC_CORE_H) $(FUNCTION_H) \ cselib.h gt-cselib.h $(GGC_H) $(TM_P_H) $(PARAMS_H) alloc-pool.h \ @@ -2963,7 +2975,7 @@ dce.o : dce.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \ $(TREE_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) $(EXCEPT_H) $(DF_H) cselib.h \ $(DBGCNT_H) dce.h $(VALTRACK_H) $(TREE_PASS_H) $(DBGCNT_H) $(TM_P_H) \ $(EMIT_RTL_H) -dumpfile.o: dumpfile.c dumpfile.h $(CONFIG_H) $(SYSTEM_H) coretypes.h \ +dumpfile.o: dumpfile.c $(DUMPFILE_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(DIAGNOSTIC_CORE_H) $(GIMPLE_PRETTY_PRINT_H) $(TREE_H) dse.o : dse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \ $(TREE_H) $(TM_P_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \ @@ -3002,7 +3014,8 @@ store-motion.o : store-motion.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RT resource.o : resource.c $(CONFIG_H) $(RTL_H) hard-reg-set.h $(SYSTEM_H) \ coretypes.h $(TM_H) $(REGS_H) $(FLAGS_H) output.h $(RESOURCE_H) $(DF_H) \ $(FUNCTION_H) $(DIAGNOSTIC_CORE_H) $(INSN_ATTR_H) $(EXCEPT_H) $(PARAMS_H) $(TM_P_H) -lcm.o : lcm.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h $(TM_H) $(RTL_H) $(REGS_H) \ +lcm.o : lcm.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) $(TM_H) \ + $(RTL_H) $(REGS_H) \ hard-reg-set.h $(FLAGS_H) insn-config.h $(INSN_ATTR_H) $(RECOG_H) \ $(BASIC_BLOCK_H) $(TM_P_H) $(FUNCTION_H) sbitmap.h mode-switching.o : mode-switching.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ @@ -3053,11 +3066,13 @@ df-core.o : df-core.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \ insn-config.h $(RECOG_H) $(FUNCTION_H) $(REGS_H) alloc-pool.h \ hard-reg-set.h $(BASIC_BLOCK_H) $(DF_H) $(BITMAP_H) sbitmap.h \ $(TM_P_H) $(FLAGS_H) output.h $(TREE_PASS_H) $(PARAMS_H) -df-problems.o : df-problems.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h $(TM_H) \ +df-problems.o : df-problems.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ + $(DUMPFILE_H) $(TM_H) \ $(RTL_H) insn-config.h $(RECOG_H) $(FUNCTION_H) $(REGS_H) alloc-pool.h \ hard-reg-set.h $(BASIC_BLOCK_H) $(DF_H) $(BITMAP_H) sbitmap.h $(TIMEVAR_H) \ $(TM_P_H) $(TARGET_H) $(FLAGS_H) $(EXCEPT_H) dce.h $(VALTRACK_H) -df-scan.o : df-scan.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h $(TM_H) $(RTL_H) \ +df-scan.o : df-scan.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) \ + $(TM_H) $(RTL_H) \ insn-config.h $(RECOG_H) $(FUNCTION_H) $(REGS_H) alloc-pool.h \ hard-reg-set.h $(BASIC_BLOCK_H) $(DF_H) $(BITMAP_H) sbitmap.h \ $(TM_P_H) $(FLAGS_H) $(TARGET_H) $(TARGET_DEF_H) $(TREE_H) \ @@ -3073,23 +3088,26 @@ var-tracking.o : var-tracking.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ $(REGS_H) $(EXPR_H) $(TREE_PASS_H) $(TREE_FLOW_H) \ cselib.h $(TARGET_H) $(DIAGNOSTIC_CORE_H) $(PARAMS_H) $(DIAGNOSTIC_H) \ pointer-set.h $(RECOG_H) $(TM_P_H) $(TREE_PRETTY_PRINT_H) $(ALIAS_H) -profile.o : profile.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h $(TM_H) $(RTL_H) \ +profile.o : profile.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) \ + $(TM_H) $(RTL_H) \ $(TREE_H) $(FLAGS_H) $(REGS_H) $(EXPR_H) $(FUNCTION_H) $(BASIC_BLOCK_H) \ $(DIAGNOSTIC_CORE_H) $(COVERAGE_H) $(TREE_FLOW_H) value-prof.h \ $(CFGLOOP_H) profile.h -mcf.o : mcf.c profile.h $(CONFIG_H) $(SYSTEM_H) $(TM_H) coretypes.h dumpfile.h \ - $(BASIC_BLOCK_H) langhooks.h $(GCOV_IO_H) $(TREE_H) +mcf.o : mcf.c profile.h $(CONFIG_H) $(SYSTEM_H) $(TM_H) coretypes.h \ + $(DUMPFILE_H) $(BASIC_BLOCK_H) langhooks.h $(GCOV_IO_H) $(TREE_H) tree-profile.o : tree-profile.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(TM_H) $(TARGET_H) $(TREE_H) $(FLAGS_H) $(FUNCTION_H) \ $(BASIC_BLOCK_H) $(DIAGNOSTIC_CORE_H) $(COVERAGE_H) $(TREE_H) value-prof.h \ $(TREE_PASS_H) $(TREE_FLOW_H) gt-tree-profile.h $(CGRAPH_H) -value-prof.o : value-prof.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h $(TM_H) \ +value-prof.o : value-prof.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) \ + $(TM_H) \ $(BASIC_BLOCK_H) hard-reg-set.h profile.h value-prof.h $(EXPR_H) $(FLAGS_H) \ $(RECOG_H) insn-config.h $(OPTABS_H) $(REGS_H) $(GGC_H) $(DIAGNOSTIC_H) \ $(TREE_H) $(COVERAGE_H) $(RTL_H) $(GCOV_IO_H) $(TREE_FLOW_H) \ tree-flow-inline.h $(TIMEVAR_H) $(DIAGNOSTIC_CORE_H) pointer-set.h \ $(GIMPLE_PRETTY_PRINT_H) $(DATA_STREAMER_H) -loop-doloop.o : loop-doloop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h $(TM_H) \ +loop-doloop.o : loop-doloop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ + $(DUMPFILE_H) $(TM_H) \ $(RTL_H) $(FLAGS_H) $(EXPR_H) hard-reg-set.h $(BASIC_BLOCK_H) $(TM_P_H) \ $(DIAGNOSTIC_CORE_H) $(CFGLOOP_H) $(PARAMS_H) $(TARGET_H) alloc-pool.o : alloc-pool.c $(CONFIG_H) $(SYSTEM_H) alloc-pool.h $(HASHTAB_H) @@ -3097,7 +3115,8 @@ auto-inc-dec.o : auto-inc-dec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ $(TREE_H) $(RTL_H) $(TM_P_H) hard-reg-set.h $(BASIC_BLOCK_H) insn-config.h \ $(REGS_H) $(FLAGS_H) $(FUNCTION_H) $(EXCEPT_H) $(DIAGNOSTIC_CORE_H) $(RECOG_H) \ $(EXPR_H) $(TREE_PASS_H) $(DF_H) $(DBGCNT_H) $(TARGET_H) -cfg.o : cfg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h $(DIAGNOSTIC_CORE_H) \ +cfg.o : cfg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) \ + $(DIAGNOSTIC_CORE_H) \ $(GGC_H) $(OBSTACK_H) alloc-pool.h $(HASH_TABLE_H) $(CFGLOOP_H) $(TREE_H) \ $(BASIC_BLOCK_H) cfghooks.o: cfghooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \ @@ -3125,20 +3144,23 @@ cfgcleanup.o : cfgcleanup.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ $(DIAGNOSTIC_CORE_H) insn-config.h cselib.h $(TARGET_H) $(TM_P_H) $(PARAMS_H) \ $(REGS_H) $(EMIT_RTL_H) $(FUNCTION_H) $(TREE_PASS_H) $(CFGLOOP_H) $(EXPR_H) \ $(DF_H) $(DBGCNT_H) dce.h -cfgloop.o : cfgloop.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) coretypes.h dumpfile.h $(TM_H) \ +cfgloop.o : cfgloop.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) coretypes.h \ + $(DUMPFILE_H) $(TM_H) \ $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(FLAGS_H) $(FUNCTION_H) \ $(OBSTACK_H) toplev.h $(DIAGNOSTIC_CORE_H) $(TREE_FLOW_H) $(TREE_H) pointer-set.h \ $(GGC_H) -cfgloopanal.o : cfgloopanal.c coretypes.h dumpfile.h $(CONFIG_H) $(SYSTEM_H) $(RTL_H) \ +cfgloopanal.o : cfgloopanal.c coretypes.h $(DUMPFILE_H) $(CONFIG_H) \ + $(SYSTEM_H) $(RTL_H) \ $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(EXPR_H) $(TM_H) \ $(OBSTACK_H) graphds.h $(PARAMS_H) graphds.o : graphds.c graphds.h $(CONFIG_H) $(SYSTEM_H) $(BITMAP_H) $(OBSTACK_H) \ coretypes.h $(VEC_H) -loop-iv.o : loop-iv.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h \ +loop-iv.o : loop-iv.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) \ $(RTL_H) $(BASIC_BLOCK_H) \ hard-reg-set.h $(CFGLOOP_H) $(EXPR_H) $(TM_H) $(OBSTACK_H) \ intl.h $(DIAGNOSTIC_CORE_H) $(DF_H) $(HASHTAB_H) -loop-invariant.o : loop-invariant.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h \ +loop-invariant.o : loop-invariant.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ + $(DUMPFILE_H) \ $(RTL_H) $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(EXPR_H) $(RECOG_H) \ $(TM_H) $(TM_P_H) $(FUNCTION_H) $(FLAGS_H) $(DF_H) $(TARGET_H) \ $(OBSTACK_H) $(HASHTAB_H) $(EXCEPT_H) $(PARAMS_H) $(REGS_H) ira.h @@ -3149,10 +3171,11 @@ loop-init.o : loop-init.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(GGC_H) \ $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) \ coretypes.h $(TM_H) $(OBSTACK_H) $(TREE_PASS_H) $(FLAGS_H) \ $(REGS_H) $(DF_H) -loop-unswitch.o : loop-unswitch.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h \ +loop-unswitch.o : loop-unswitch.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ + $(DUMPFILE_H) \ $(RTL_H) $(TM_H) $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(PARAMS_H) \ $(EXPR_H) $(TM_H) $(OBSTACK_H) -loop-unroll.o: loop-unroll.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h \ +loop-unroll.o: loop-unroll.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) \ $(RTL_H) $(TM_H) $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(PARAMS_H) \ $(EXPR_H) $(TM_H) $(HASHTAB_H) $(RECOG_H) \ $(OBSTACK_H) @@ -3183,7 +3206,7 @@ reload.o : reload.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_ERROR_H) \ $(FLAGS_H) $(EXPR_H) $(OPTABS_H) reload.h $(RECOG_H) \ hard-reg-set.h insn-config.h $(REGS_H) $(FUNCTION_H) real.h \ addresses.h $(TM_P_H) $(PARAMS_H) $(TARGET_H) $(DF_H) ira.h $(DIAGNOSTIC_CORE_H) -reload1.o : reload1.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h \ +reload1.o : reload1.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) \ $(TM_H) $(RTL_ERROR_H) \ $(EXPR_H) $(OPTABS_H) reload.h $(REGS_H) hard-reg-set.h insn-config.h \ $(BASIC_BLOCK_H) $(RECOG_H) $(FUNCTION_H) $(TM_P_H) \ @@ -3201,8 +3224,8 @@ postreload-gcse.o : postreload-gcse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(RECOG_H) $(EXPR_H) $(BASIC_BLOCK_H) $(FUNCTION_H) $(DIAGNOSTIC_CORE_H) \ $(TM_P_H) $(EXCEPT_H) $(TREE_H) $(TARGET_H) $(HASHTAB_H) intl.h $(OBSTACK_H) \ $(PARAMS_H) $(TREE_PASS_H) $(DBGCNT_H) -caller-save.o : caller-save.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h \ - $(TM_H) $(RTL_H) \ +caller-save.o : caller-save.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ + $(DUMPFILE_H) $(TM_H) $(RTL_H) \ $(FLAGS_H) $(REGS_H) hard-reg-set.h insn-config.h $(BASIC_BLOCK_H) $(FUNCTION_H) \ addresses.h $(RECOG_H) reload.h $(EXPR_H) $(DIAGNOSTIC_CORE_H) $(TM_P_H) $(DF_H) \ gt-caller-save.h $(GGC_H) @@ -3215,7 +3238,8 @@ reorg.o : reorg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \ $(INSN_ATTR_H) $(EXCEPT_H) $(RECOG_H) $(FUNCTION_H) $(FLAGS_H) output.h \ $(EXPR_H) $(DIAGNOSTIC_CORE_H) $(PARAMS_H) $(TM_P_H) $(OBSTACK_H) $(RESOURCE_H) \ $(TARGET_H) $(TREE_PASS_H) -alias.o : alias.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h $(TM_H) $(RTL_H) \ +alias.o : alias.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) \ + $(TM_H) $(RTL_H) \ $(FLAGS_H) hard-reg-set.h $(BASIC_BLOCK_H) $(REGS_H) $(DIAGNOSTIC_CORE_H) \ $(ALIAS_H) $(EMIT_RTL_H) $(GGC_H) $(FUNCTION_H) cselib.h $(TREE_H) $(TM_P_H) \ langhooks.h $(TARGET_H) gt-alias.h $(TIMEVAR_H) $(CGRAPH_H) \ @@ -3315,8 +3339,8 @@ modulo-sched.o : modulo-sched.c $(DDG_H) $(CONFIG_H) $(CONFIG_H) $(SYSTEM_H) \ $(SCHED_INT_H) $(CFGLOOP_H) $(EXPR_H) $(PARAMS_H) \ $(GCOV_IO_H) hard-reg-set.h $(TM_H) $(TREE_PASS_H) \ $(DF_H) $(DBGCNT_H) -haifa-sched.o : haifa-sched.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h \ - $(TM_H) $(RTL_H) \ +haifa-sched.o : haifa-sched.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ + $(DUMPFILE_H) $(TM_H) $(RTL_H) \ $(SCHED_INT_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h $(FUNCTION_H) \ $(INSN_ATTR_H) $(DIAGNOSTIC_CORE_H) $(RECOG_H) $(EXCEPT_H) $(TM_P_H) $(TARGET_H) \ $(PARAMS_H) $(DBGCNT_H) $(CFGLOOP_H) ira.h $(EMIT_RTL_H) $(COMMON_TARGET_H) \ @@ -3334,8 +3358,8 @@ sched-ebb.o : sched-ebb.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ $(RTL_H) $(SCHED_INT_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \ $(FUNCTION_H) $(INSN_ATTR_H) $(DIAGNOSTIC_CORE_H) $(RECOG_H) $(EXCEPT_H) $(TM_P_H) \ $(PARAMS_H) $(TARGET_H) -sched-vis.o : sched-vis.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h $(TM_H) \ - $(INSN_ATTR_H) $(RTL_H) $(TREE_H) $(BASIC_BLOCK_H) $(PRETTY_PRINT_H) +sched-vis.o : sched-vis.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) \ + $(TM_H) $(INSN_ATTR_H) $(RTL_H) $(TREE_H) $(BASIC_BLOCK_H) $(PRETTY_PRINT_H) sel-sched.o : sel-sched.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ $(RTL_ERROR_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \ $(FUNCTION_H) $(INSN_ATTR_H) $(RECOG_H) $(EXCEPT_H) $(PARAMS_H) \ @@ -3411,7 +3435,7 @@ pointer-set.o: pointer-set.c pointer-set.h $(CONFIG_H) $(SYSTEM_H) hooks.o: hooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(HOOKS_H) pretty-print.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h intl.h $(PRETTY_PRINT_H) errors.o : errors.c $(CONFIG_H) $(SYSTEM_H) errors.h -dbgcnt.o: dbgcnt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h \ +dbgcnt.o: dbgcnt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) \ $(DIAGNOSTIC_CORE_H) $(DBGCNT_H) lower-subreg.o : lower-subreg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(MACHMODE_H) $(TM_H) $(RTL_H) $(TM_P_H) $(FLAGS_H) \ @@ -3423,7 +3447,8 @@ target-globals.o : target-globals.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(FLAGS_H) $(REGS_H) $(RTL_H) reload.h expmed.h $(EXPR_H) $(OPTABS_H) \ $(LIBFUNCS_H) $(CFGLOOP_H) $(IRA_INT_H) builtins.h gcse.h bb-reorder.h \ lower-subreg.h -hw-doloop.o : hw-doloop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h $(TM_H) \ +hw-doloop.o : hw-doloop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) \ + $(TM_H) \ $(RTL_H) $(FLAGS_H) $(EXPR_H) hard-reg-set.h $(BASIC_BLOCK_H) $(TM_P_H) \ $(DF_H) $(CFGLOOP_H) $(RECOG_H) $(TARGET_H) \ $(REGS_H) hw-doloop.h diff --git a/gcc/basic-block.h b/gcc/basic-block.h index 90eb57b7e3e..69876e0a188 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -437,6 +437,8 @@ extern basic_block create_basic_block_structure (rtx, rtx, rtx, basic_block); extern void clear_bb_flags (void); extern void dump_bb_info (FILE *, basic_block, int, int, bool, bool); extern void dump_edge_info (FILE *, edge, int, int); +extern void debug (edge_def &ref); +extern void debug (edge_def *ptr); extern void brief_dump_cfg (FILE *, int); extern void clear_edges (void); extern void scale_bbs_frequencies_int (basic_block *, int, int, int); diff --git a/gcc/bitmap.c b/gcc/bitmap.c index b60280a212f..f0fba9cec05 100644 --- a/gcc/bitmap.c +++ b/gcc/bitmap.c @@ -2117,7 +2117,8 @@ debug_bitmap (const_bitmap head) it does not print anything but the bits. */ DEBUG_FUNCTION void -bitmap_print (FILE *file, const_bitmap head, const char *prefix, const char *suffix) +bitmap_print (FILE *file, const_bitmap head, const char *prefix, + const char *suffix) { const char *comma = ""; unsigned i; @@ -2199,4 +2200,20 @@ dump_bitmap_statistics (void) fprintf (stderr, "---------------------------------------------------------------------------------\n"); } +DEBUG_FUNCTION void +debug (const bitmap_head_def &ref) +{ + dump_bitmap (stderr, &ref); +} + +DEBUG_FUNCTION void +debug (const bitmap_head_def *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + + #include "gt-bitmap.h" diff --git a/gcc/bitmap.h b/gcc/bitmap.h index 3d9738c122b..ada414d8836 100644 --- a/gcc/bitmap.h +++ b/gcc/bitmap.h @@ -293,6 +293,8 @@ inline void dump_bitmap (FILE *file, const_bitmap map) { bitmap_print (file, map, "", "\n"); } +extern void debug (const bitmap_head_def &ref); +extern void debug (const bitmap_head_def *ptr); extern unsigned bitmap_first_set_bit (const_bitmap); extern unsigned bitmap_last_set_bit (const_bitmap); diff --git a/gcc/cfg.c b/gcc/cfg.c index 9e4380c8e32..0c1e425a00d 100644 --- a/gcc/cfg.c +++ b/gcc/cfg.c @@ -504,6 +504,23 @@ dump_edge_info (FILE *file, edge e, int flags, int do_succ) fputc (')', file); } } + +DEBUG_FUNCTION void +debug (edge_def &ref) +{ + /* FIXME (crowl): Is this desireable? */ + dump_edge_info (stderr, &ref, 0, false); + dump_edge_info (stderr, &ref, 0, true); +} + +DEBUG_FUNCTION void +debug (edge_def *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} /* Simple routines to easily allocate AUX fields of basic blocks. */ diff --git a/gcc/cfghooks.c b/gcc/cfghooks.c index 5e3eeb587b5..5354624d91c 100644 --- a/gcc/cfghooks.c +++ b/gcc/cfghooks.c @@ -279,6 +279,22 @@ dump_bb (FILE *outf, basic_block bb, int indent, int flags) fputc ('\n', outf); } +DEBUG_FUNCTION void +debug (basic_block_def &ref) +{ + dump_bb (stderr, &ref, 0, 0); +} + +DEBUG_FUNCTION void +debug (basic_block_def *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + + /* Dumps basic block BB to pretty-printer PP, for use as a label of a DOT graph record-node. The implementation of this hook is expected to write the label to the stream that is attached to PP. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 5375f01dda5..e68d8eee2e7 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,28 @@ +2013-03-28 Lawrence Crowl <crowl@google.com> + + * Make-lang.in + (CXX_PARSER_H): Add header dependence. + * cp-tree.h + (extern debug (cp_binding_level &)): New. + (extern debug (cp_binding_level *)): New. + * name-lookup.h + (debug (cp_binding_level &)): New. + (debug (cp_binding_level *)): New. + * parser.c + (debug (cp_parser &)): New. + (debug (cp_parser *)): New. + (debug (cp_token &)): New. + (debug (cp_token *)): New. + (debug (vec<cp_token, va_gc> &)): New. + (debug (vec<cp_token, va_gc> *)): New. + * parser.c: Add header dependence. + (extern debug (cp_parser &)): New. + (extern debug (cp_parser *)): New. + (extern debug (cp_token &)): New. + (extern debug (cp_token *)): New. + (extern debug (vec<cp_token, va_gc> &)): New. + (extern debug (vec<cp_token, va_gc> *)): New. + 2013-03-28 Jason Merrill <jason@redhat.com> PR c++/17232 diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in index dce523a94e8..cda4897ceae 100644 --- a/gcc/cp/Make-lang.in +++ b/gcc/cp/Make-lang.in @@ -260,7 +260,7 @@ CXX_TREE_H = $(TREE_H) cp/name-lookup.h cp/cp-tree.h $(C_COMMON_H) \ $(FUNCTION_H) \ $(SYSTEM_H) coretypes.h $(CONFIG_H) $(TARGET_H) $(GGC_H) \ $(srcdir)/../include/hashtab.h -CXX_PARSER_H = tree.h c-family/c-pragma.h cp/parser.h +CXX_PARSER_H = tree.h $(CXX_TREE_H) c-family/c-pragma.h cp/parser.h CXX_PRETTY_PRINT_H = cp/cxx-pretty-print.h $(C_PRETTY_PRINT_H) cp/lex.o: cp/lex.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) \ diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index e1677160ff9..f24dcb35f53 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -5102,6 +5102,8 @@ extern tree make_anon_name (void); extern tree pushdecl_top_level_maybe_friend (tree, bool); extern tree pushdecl_top_level_and_finish (tree, tree); extern tree check_for_out_of_scope_variable (tree); +extern void dump (cp_binding_level &ref); +extern void dump (cp_binding_level *ptr); extern void print_other_binding_stack (cp_binding_level *); extern tree maybe_push_decl (tree); extern tree current_decl_namespace (void); diff --git a/gcc/cp/name-lookup.c b/gcc/cp/name-lookup.c index e2ef75bac23..88a516a4282 100644 --- a/gcc/cp/name-lookup.c +++ b/gcc/cp/name-lookup.c @@ -1800,6 +1800,22 @@ print_binding_level (cp_binding_level* lvl) } } +DEBUG_FUNCTION void +debug (cp_binding_level &ref) +{ + print_binding_level (&ref); +} + +DEBUG_FUNCTION void +debug (cp_binding_level *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + + void print_other_binding_stack (cp_binding_level *stack) { diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index ec6eb085289..ff2ef3dd43e 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -327,6 +327,21 @@ cp_lexer_debug_tokens (vec<cp_token, va_gc> *buffer) cp_lexer_dump_tokens (stderr, buffer, NULL, 0, NULL); } +DEBUG_FUNCTION void +debug (vec<cp_token, va_gc> &ref) +{ + cp_lexer_dump_tokens (stderr, &ref, NULL, 0, NULL); +} + +DEBUG_FUNCTION void +debug (vec<cp_token, va_gc> *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + /* Dump the cp_parser tree field T to FILE if T is non-NULL. DESC is the description for T. */ @@ -545,6 +560,20 @@ cp_debug_parser (FILE *file, cp_parser *parser) fprintf (file, "\tColumn: %d\n", eloc.column); } +DEBUG_FUNCTION void +debug (cp_parser &ref) +{ + cp_debug_parser (stderr, &ref); +} + +DEBUG_FUNCTION void +debug (cp_parser *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} /* Allocate memory for a new lexer object and return it. */ @@ -1140,6 +1169,23 @@ cp_lexer_print_token (FILE * stream, cp_token *token) } } +DEBUG_FUNCTION void +debug (cp_token &ref) +{ + cp_lexer_print_token (stderr, &ref); + fprintf (stderr, "\n"); +} + +DEBUG_FUNCTION void +debug (cp_token *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + + /* Start emitting debugging information. */ static void diff --git a/gcc/cp/parser.h b/gcc/cp/parser.h index fe787e4c858..3d8bb742d22 100644 --- a/gcc/cp/parser.h +++ b/gcc/cp/parser.h @@ -21,6 +21,7 @@ along with GCC; see the file COPYING3. If not see #define GCC_CP_PARSER_H #include "tree.h" +#include "cp/cp-tree.h" #include "c-family/c-pragma.h" /* A token's value and its associated deferred access checks and @@ -343,7 +344,13 @@ typedef struct GTY(()) cp_parser { } cp_parser; /* In parser.c */ +extern void debug (cp_token &ref); +extern void debug (cp_token *ptr); extern void cp_lexer_debug_tokens (vec<cp_token, va_gc> *); +extern void debug (vec<cp_token, va_gc> &ref); +extern void debug (vec<cp_token, va_gc> *ptr); extern void cp_debug_parser (FILE *, cp_parser *); +extern void debug (cp_parser &ref); +extern void debug (cp_parser *ptr); #endif /* GCC_CP_PARSER_H */ diff --git a/gcc/dumpfile.h b/gcc/dumpfile.h index b912ccf02bb..77f5de68c4d 100644 --- a/gcc/dumpfile.h +++ b/gcc/dumpfile.h @@ -125,7 +125,6 @@ extern FILE *dump_begin (int, int *); extern void dump_end (int, FILE *); extern int dump_start (int, int *); extern void dump_finish (int); -extern void dump_node (const_tree, int, FILE *); extern int dump_switch_p (const char *); extern int opt_info_switch_p (const char *); extern const char *dump_flag_name (int); @@ -142,6 +141,9 @@ extern unsigned int dump_register (const char *, const char *, const char *, int, int); extern bool enable_rtl_dump_file (void); +/* In tree-dump.c */ +extern void dump_node (const_tree, int, FILE *); + /* In combine.c */ extern void dump_combine_total_stats (FILE *); /* In cfghooks.c */ diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 8cf3b767f9f..04e1bd3e222 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -5351,6 +5351,22 @@ debug_dwarf_die (dw_die_ref die) print_die (die, stderr); } +DEBUG_FUNCTION void +debug (die_struct &ref) +{ + print_die (&ref, stderr); +} + +DEBUG_FUNCTION void +debug (die_struct *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + + /* Print all DWARF information collected for the compilation unit. This routine is a debugging aid only. */ diff --git a/gcc/dwarf2out.h b/gcc/dwarf2out.h index f68d0e46c7a..ad03a34021d 100644 --- a/gcc/dwarf2out.h +++ b/gcc/dwarf2out.h @@ -257,6 +257,8 @@ extern void dwarf2out_emit_cfi (dw_cfi_ref cfi); extern void debug_dwarf (void); struct die_struct; extern void debug_dwarf_die (struct die_struct *); +extern void debug (die_struct &ref); +extern void debug (die_struct *ptr); extern void dwarf2out_set_demangle_name_func (const char *(*) (const char *)); #ifdef VMS_DEBUGGING_INFO extern void dwarf2out_vms_debug_main_pointer (void); diff --git a/gcc/gimple-pretty-print.c b/gcc/gimple-pretty-print.c index 8c24a57d6d6..f3e66d67aba 100644 --- a/gcc/gimple-pretty-print.c +++ b/gcc/gimple-pretty-print.c @@ -99,6 +99,21 @@ print_gimple_stmt (FILE *file, gimple g, int spc, int flags) pp_newline_and_flush (&buffer); } +DEBUG_FUNCTION void +debug (gimple_statement_d &ref) +{ + print_gimple_stmt (stderr, &ref, 0, 0); +} + +DEBUG_FUNCTION void +debug (gimple_statement_d *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + /* Print GIMPLE statement G to FILE using SPC indentation spaces and FLAGS as in pp_gimple_stmt_1. Print only the right-hand side diff --git a/gcc/gimple-pretty-print.h b/gcc/gimple-pretty-print.h index 3992d22d841..2b0285d356c 100644 --- a/gcc/gimple-pretty-print.h +++ b/gcc/gimple-pretty-print.h @@ -29,6 +29,8 @@ extern void debug_gimple_stmt (gimple); extern void debug_gimple_seq (gimple_seq); extern void print_gimple_seq (FILE *, gimple_seq, int, int); extern void print_gimple_stmt (FILE *, gimple, int, int); +extern void debug (gimple_statement_d &ref); +extern void debug (gimple_statement_d *ptr); extern void print_gimple_expr (FILE *, gimple, int, int); extern void pp_gimple_stmt_1 (pretty_printer *, gimple, int, int); extern void gimple_dump_bb_for_graph (pretty_printer *, basic_block); diff --git a/gcc/ira-build.c b/gcc/ira-build.c index b1e481bdb05..70be92174a4 100644 --- a/gcc/ira-build.c +++ b/gcc/ira-build.c @@ -1321,6 +1321,21 @@ print_copy (FILE *f, ira_copy_t cp) ? "move" : cp->constraint_p ? "constraint" : "shuffle"); } +DEBUG_FUNCTION void +debug (ira_allocno_copy &ref) +{ + print_copy (stderr, &ref); +} + +DEBUG_FUNCTION void +debug (ira_allocno_copy *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + /* Print info about copy CP into stderr. */ void ira_debug_copy (ira_copy_t cp) @@ -1374,6 +1389,22 @@ print_allocno_copies (FILE *f, ira_allocno_t a) fprintf (f, "\n"); } +DEBUG_FUNCTION void +debug (ira_allocno &ref) +{ + print_allocno_copies (stderr, &ref); +} + +DEBUG_FUNCTION void +debug (ira_allocno *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + + /* Print info about copies involving allocno A into stderr. */ void ira_debug_allocno_copies (ira_allocno_t a) diff --git a/gcc/ira-int.h b/gcc/ira-int.h index 096f33048e3..519f656f652 100644 --- a/gcc/ira-int.h +++ b/gcc/ira-int.h @@ -33,7 +33,7 @@ along with GCC; see the file COPYING3. If not see #define ira_assert(c) gcc_assert (c) #else /* Always define and include C, so that warnings for empty body in an - ‘if’ statement and unused variable do not occur. */ + 'if' statement and unused variable do not occur. */ #define ira_assert(c) ((void)(0 && (c))) #endif @@ -933,8 +933,13 @@ extern ira_loop_tree_node_t ira_curr_loop_tree_node; extern ira_allocno_t *ira_curr_regno_allocno_map; extern void ira_debug_copy (ira_copy_t); +extern void debug (ira_allocno_copy &ref); +extern void debug (ira_allocno_copy *ptr); + extern void ira_debug_copies (void); extern void ira_debug_allocno_copies (ira_allocno_t); +extern void debug (ira_allocno &ref); +extern void debug (ira_allocno *ptr); extern void ira_traverse_loop_tree (bool, ira_loop_tree_node_t, void (*) (ira_loop_tree_node_t), @@ -983,6 +988,8 @@ extern void ira_tune_allocno_costs (void); extern void ira_rebuild_start_finish_chains (void); extern void ira_print_live_range_list (FILE *, live_range_t); +extern void debug (live_range &ref); +extern void debug (live_range *ptr); extern void ira_debug_live_range_list (live_range_t); extern void ira_debug_allocno_live_ranges (ira_allocno_t); extern void ira_debug_live_ranges (void); diff --git a/gcc/ira-lives.c b/gcc/ira-lives.c index 31635dd3438..59f2b21468b 100644 --- a/gcc/ira-lives.c +++ b/gcc/ira-lives.c @@ -1522,6 +1522,21 @@ ira_print_live_range_list (FILE *f, live_range_t r) fprintf (f, "\n"); } +DEBUG_FUNCTION void +debug (live_range &ref) +{ + ira_print_live_range_list (stderr, &ref); +} + +DEBUG_FUNCTION void +debug (live_range *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + /* Print live ranges R to stderr. */ void ira_debug_live_range_list (live_range_t r) diff --git a/gcc/lra-int.h b/gcc/lra-int.h index 98f2ff709b7..5ec7fa12502 100644 --- a/gcc/lra-int.h +++ b/gcc/lra-int.h @@ -23,6 +23,8 @@ along with GCC; see the file COPYING3. If not see #include "recog.h" #include "insn-attr.h" #include "insn-codes.h" +#include "insn-config.h" +#include "regs.h" #define lra_assert(c) gcc_checking_assert (c) @@ -350,6 +352,8 @@ extern lra_live_range_t lra_merge_live_ranges (lra_live_range_t, extern bool lra_intersected_live_ranges_p (lra_live_range_t, lra_live_range_t); extern void lra_print_live_range_list (FILE *, lra_live_range_t); +extern void debug (lra_live_range &ref); +extern void debug (lra_live_range *ptr); extern void lra_debug_live_range_list (lra_live_range_t); extern void lra_debug_pseudo_live_ranges (int); extern void lra_debug_live_ranges (void); diff --git a/gcc/lra-lives.c b/gcc/lra-lives.c index 09db1a4122b..6eaeb2d7779 100644 --- a/gcc/lra-lives.c +++ b/gcc/lra-lives.c @@ -848,6 +848,21 @@ lra_print_live_range_list (FILE *f, lra_live_range_t r) fprintf (f, "\n"); } +DEBUG_FUNCTION void +debug (lra_live_range &ref) +{ + lra_print_live_range_list (stderr, &ref); +} + +DEBUG_FUNCTION void +debug (lra_live_range *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + /* Print live ranges R to stderr. */ void lra_debug_live_range_list (lra_live_range_t r) diff --git a/gcc/omega.c b/gcc/omega.c index 38c51dbac7b..8829a71a91d 100644 --- a/gcc/omega.c +++ b/gcc/omega.c @@ -309,6 +309,23 @@ omega_print_vars (FILE *file, omega_pb pb) fprintf (file, "\n"); } +/* Dump problem PB. */ + +DEBUG_FUNCTION void +debug (omega_pb_d &ref) +{ + omega_print_problem (stderr, &ref); +} + +DEBUG_FUNCTION void +debug (omega_pb_d *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + /* Debug problem PB. */ DEBUG_FUNCTION void diff --git a/gcc/omega.h b/gcc/omega.h index 6e20a75cf83..0b217a93516 100644 --- a/gcc/omega.h +++ b/gcc/omega.h @@ -122,6 +122,8 @@ extern enum omega_result omega_simplify_approximate (omega_pb); extern enum omega_result omega_constrain_variable_sign (omega_pb, enum omega_eqn_color, int, int); +extern void debug (omega_pb_d &ref); +extern void debug (omega_pb_d *ptr); extern void debug_omega_problem (omega_pb); extern void omega_print_problem (FILE *, omega_pb); extern void omega_print_red_equations (FILE *, omega_pb); diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index 3793109aa01..f870e0d4889 100644 --- a/gcc/print-rtl.c +++ b/gcc/print-rtl.c @@ -662,6 +662,23 @@ debug_rtx (const_rtx x) fprintf (stderr, "\n"); } +/* Dump rtx REF. */ + +DEBUG_FUNCTION void +debug (const rtx_def &ref) +{ + debug_rtx (&ref); +} + +DEBUG_FUNCTION void +debug (const rtx_def *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + /* Count of rtx's to print with debug_rtx_list. This global exists because gdb user defined commands have no arguments. */ diff --git a/gcc/print-tree.c b/gcc/print-tree.c index e8a0c7700f8..689eeb9fe52 100644 --- a/gcc/print-tree.c +++ b/gcc/print-tree.c @@ -29,6 +29,7 @@ along with GCC; see the file COPYING3. If not see #include "diagnostic.h" #include "gimple-pretty-print.h" /* FIXME */ #include "tree-flow.h" +#include "tree-dump.h" #include "dumpfile.h" /* Define the hash table of nodes already seen. @@ -44,34 +45,6 @@ struct bucket static struct bucket **table; -/* Print the node NODE on standard error, for debugging. - Most nodes referred to by this one are printed recursively - down to a depth of six. */ - -DEBUG_FUNCTION void -debug_tree (tree node) -{ - table = XCNEWVEC (struct bucket *, HASH_SIZE); - print_node (stderr, "", node, 0); - free (table); - table = 0; - putc ('\n', stderr); -} - -/* Print the vector of trees VEC on standard error, for debugging. - Most nodes referred to by this one are printed recursively - down to a depth of six. */ - -DEBUG_FUNCTION void -debug_vec_tree (vec<tree, va_gc> *vec) -{ - table = XCNEWVEC (struct bucket *, HASH_SIZE); - print_vec_tree (stderr, "", vec, 0); - free (table); - table = 0; - putc ('\n', stderr); -} - /* Print PREFIX and ADDR to FILE. */ void dump_addr (FILE *file, const char *prefix, const void *addr) @@ -1011,3 +984,146 @@ print_vec_tree (FILE *file, const char *prefix, vec<tree, va_gc> *vec, int inden print_node (file, temp, elt, indent + 4); } } + + +/* Print the node NODE on standard error, for debugging. + Most nodes referred to by this one are printed recursively + down to a depth of six. */ + +DEBUG_FUNCTION void +debug_tree (tree node) +{ + table = XCNEWVEC (struct bucket *, HASH_SIZE); + print_node (stderr, "", node, 0); + free (table); + table = 0; + putc ('\n', stderr); +} + +DEBUG_FUNCTION void +debug_raw (const tree_node &ref) +{ + debug_tree (const_cast <tree> (&ref)); +} + +DEBUG_FUNCTION void +debug_raw (const tree_node *ptr) +{ + if (ptr) + debug_raw (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + +static void +dump_tree_via_hooks (const tree_node *ptr, int options) +{ + if (DECL_P (ptr)) + lang_hooks.print_decl (stderr, const_cast <tree_node*> (ptr), 0); + else if (TYPE_P (ptr)) + lang_hooks.print_type (stderr, const_cast <tree_node*> (ptr), 0); + else if (TREE_CODE (ptr) == IDENTIFIER_NODE) + lang_hooks.print_identifier (stderr, const_cast <tree_node*> (ptr), 0); + else + print_generic_expr (stderr, const_cast <tree_node*> (ptr), options); + fprintf (stderr, "\n"); +} + +DEBUG_FUNCTION void +debug (const tree_node &ref) +{ + dump_tree_via_hooks (&ref, 0); +} + +DEBUG_FUNCTION void +debug (const tree_node *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + +DEBUG_FUNCTION void +debug_verbose (const tree_node &ref) +{ + dump_tree_via_hooks (&ref, TDF_VERBOSE); +} + +DEBUG_FUNCTION void +debug_verbose (const tree_node *ptr) +{ + if (ptr) + debug_verbose (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + +DEBUG_FUNCTION void +debug_head (const tree_node &ref) +{ + debug (ref); +} + +DEBUG_FUNCTION void +debug_head (const tree_node *ptr) +{ + if (ptr) + debug_head (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + +DEBUG_FUNCTION void +debug_body (const tree_node &ref) +{ + if (TREE_CODE (&ref) == FUNCTION_DECL) + dump_function_to_file (const_cast <tree_node*> (&ref), stderr, 0); + else + debug (ref); +} + +DEBUG_FUNCTION void +debug_body (const tree_node *ptr) +{ + if (ptr) + debug_body (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + +/* Print the vector of trees VEC on standard error, for debugging. + Most nodes referred to by this one are printed recursively + down to a depth of six. */ + +DEBUG_FUNCTION void +debug_vec_tree (vec<tree, va_gc> *vec) +{ + tree elt; + unsigned ix; + + /* Print the slot this node is in, and its code, and address. */ + fprintf (stderr, "<VEC"); + dump_addr (stderr, " ", vec->address ()); + + FOR_EACH_VEC_ELT (*vec, ix, elt) + { + fprintf (stderr, "elt %d ", ix); + debug (elt); + } +} + +DEBUG_FUNCTION void +debug (vec<tree, va_gc> &ref) +{ + debug_vec_tree (&ref); +} + +DEBUG_FUNCTION void +debug (vec<tree, va_gc> *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} diff --git a/gcc/rtl.h b/gcc/rtl.h index b9defcceba4..419910e8a38 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2586,6 +2586,8 @@ extern void sel_sched_fix_param (const char *param, const char *val); /* In print-rtl.c */ extern const char *print_rtx_head; +extern void debug (const rtx_def &ref); +extern void debug (const rtx_def *ptr); extern void debug_rtx (const_rtx); extern void debug_rtx_list (const_rtx, int); extern void debug_rtx_range (const_rtx, const_rtx); diff --git a/gcc/sbitmap.c b/gcc/sbitmap.c index 5342651b5b9..bc77d43a617 100644 --- a/gcc/sbitmap.c +++ b/gcc/sbitmap.c @@ -655,6 +655,21 @@ dump_bitmap (FILE *file, const_sbitmap bmap) fprintf (file, "\n"); } +DEBUG_FUNCTION void +debug_raw (simple_bitmap_def &ref) +{ + dump_bitmap (stderr, &ref); +} + +DEBUG_FUNCTION void +debug_raw (simple_bitmap_def *ptr) +{ + if (ptr) + debug_raw (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + void dump_bitmap_file (FILE *file, const_sbitmap bmap) { @@ -684,6 +699,21 @@ debug_bitmap (const_sbitmap bmap) dump_bitmap_file (stderr, bmap); } +DEBUG_FUNCTION void +debug (simple_bitmap_def &ref) +{ + dump_bitmap_file (stderr, &ref); +} + +DEBUG_FUNCTION void +debug (simple_bitmap_def *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + void dump_bitmap_vector (FILE *file, const char *title, const char *subtitle, sbitmap *bmaps, int n_maps) diff --git a/gcc/sbitmap.h b/gcc/sbitmap.h index 63f12e42247..9a0852a670b 100644 --- a/gcc/sbitmap.h +++ b/gcc/sbitmap.h @@ -223,7 +223,11 @@ inline void sbitmap_vector_free (sbitmap * vec) } extern void dump_bitmap (FILE *, const_sbitmap); +extern void debug_raw (const simple_bitmap_def &ref); +extern void debug_raw (const simple_bitmap_def *ptr); extern void dump_bitmap_file (FILE *, const_sbitmap); +extern void debug (const simple_bitmap_def &ref); +extern void debug (const simple_bitmap_def *ptr); extern void dump_bitmap_vector (FILE *, const char *, const char *, sbitmap *, int); extern sbitmap sbitmap_alloc (unsigned int); diff --git a/gcc/sel-sched-dump.c b/gcc/sel-sched-dump.c index 0dafe497add..347b5eb41e7 100644 --- a/gcc/sel-sched-dump.c +++ b/gcc/sel-sched-dump.c @@ -207,6 +207,42 @@ dump_vinsn (vinsn_t vi) dump_vinsn_1 (vi, dump_vinsn_flags); } +DEBUG_FUNCTION void +debug (vinsn_def &ref) +{ + switch_dump (stderr); + dump_vinsn_1 (&ref, dump_vinsn_flags); + sel_print ("\n"); + restore_dump (); +} + +DEBUG_FUNCTION void +debug (vinsn_def *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + +DEBUG_FUNCTION void +debug_verbose (vinsn_def &ref) +{ + switch_dump (stderr); + dump_vinsn_1 (&ref, debug_vinsn_flags); + sel_print ("\n"); + restore_dump (); +} + +DEBUG_FUNCTION void +debug_verbose (vinsn_def *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + /* Dump vinsn VI to stderr. */ DEBUG_FUNCTION void debug_vinsn (vinsn_t vi) @@ -298,6 +334,46 @@ debug_expr (expr_t expr) restore_dump (); } +/* Dump expression REF. */ + +DEBUG_FUNCTION void +debug (expr_def &ref) +{ + switch_dump (stderr); + dump_expr_1 (&ref, 0); + sel_print ("\n"); + restore_dump (); +} + +DEBUG_FUNCTION void +debug (expr_def *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + +/* Dump expression REF verbosely. */ + +DEBUG_FUNCTION void +debug_verbose (expr_def &ref) +{ + switch_dump (stderr); + dump_expr_1 (&ref, DUMP_EXPR_ALL); + sel_print ("\n"); + restore_dump (); +} + +DEBUG_FUNCTION void +debug_verbose (expr_def *ptr) +{ + if (ptr) + debug_verbose (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + /* Dump insn I honoring FLAGS. */ void dump_insn_1 (insn_t i, int flags) @@ -918,6 +994,25 @@ debug_blist (blist_t bnds) restore_dump (); } +/* Dump a rtx vector REF. */ +DEBUG_FUNCTION void +debug (vec<rtx> &ref) +{ + switch_dump (stderr); + dump_insn_vector (ref); + sel_print ("\n"); + restore_dump (); +} + +DEBUG_FUNCTION void +debug (vec<rtx> *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + /* Dump an insn vector SUCCS. */ DEBUG_FUNCTION void debug_insn_vector (rtx_vec_t succs) diff --git a/gcc/sel-sched-dump.h b/gcc/sel-sched-dump.h index ca154ef9480..e762c929c82 100644 --- a/gcc/sel-sched-dump.h +++ b/gcc/sel-sched-dump.h @@ -111,6 +111,12 @@ extern void dump_vinsn_1 (vinsn_t, int); extern void dump_vinsn (vinsn_t); extern void debug_vinsn (vinsn_t); +extern void debug (vinsn_def &ref); +extern void debug (vinsn_def *ptr); +extern void debug_verbose (vinsn_def &ref); +extern void debug_verbose (vinsn_def *ptr); + + /* These values control dumping of expressions. The meaning of the fields is explained in sel-sched-ir.h. */ enum dump_expr_def @@ -146,6 +152,12 @@ extern void dump_expr_1 (expr_t, int); extern void dump_expr (expr_t); extern void debug_expr (expr_t); +extern void debug (expr_def &ref); +extern void debug (expr_def *ptr); +extern void debug_verbose (expr_def &ref); +extern void debug_verbose (expr_def *ptr); + + /* A enumeration for dumping flags of an insn. The difference from dump_insn_rtx_def is that these fields are for insns in stream only. */ enum dump_insn_def @@ -214,6 +226,8 @@ extern void debug_av_set (av_set_t); extern void debug_lv_set (regset); extern void debug_ilist (ilist_t); extern void debug_blist (blist_t); +extern void debug (vec<rtx> &ref); +extern void debug (vec<rtx> *ptr); extern void debug_insn_vector (rtx_vec_t); extern void debug_hard_reg_set (HARD_REG_SET); extern rtx debug_mem_addr_value (rtx); diff --git a/gcc/sel-sched-ir.h b/gcc/sel-sched-ir.h index 7a6ad12429d..6d9394a4428 100644 --- a/gcc/sel-sched-ir.h +++ b/gcc/sel-sched-ir.h @@ -530,7 +530,7 @@ typedef _list_iterator av_set_iterator; #define FOR_EACH_EXPR(EXPR, I, AV) _FOR_EACH (expr, (EXPR), (I), (AV)) #define FOR_EACH_EXPR_1(EXPR, I, AV) _FOR_EACH_1 (expr, (EXPR), (I), (AV)) -static bool +inline bool _list_iter_cond_expr (av_set_t av, expr_t *exprp) { if (av) diff --git a/gcc/sreal.c b/gcc/sreal.c index 62063f33820..f7600212476 100644 --- a/gcc/sreal.c +++ b/gcc/sreal.c @@ -72,6 +72,22 @@ dump_sreal (FILE *file, sreal *x) #endif } +DEBUG_FUNCTION void +debug (sreal &ref) +{ + dump_sreal (stderr, &ref); +} + +DEBUG_FUNCTION void +debug (sreal *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + + /* Copy the sreal number. */ static inline void diff --git a/gcc/sreal.h b/gcc/sreal.h index e5796397ef9..71cb91ea3e5 100644 --- a/gcc/sreal.h +++ b/gcc/sreal.h @@ -53,6 +53,8 @@ typedef struct sreal } sreal; extern void dump_sreal (FILE *, sreal *); +extern void debug (sreal &ref); +extern void debug (sreal *ptr); extern sreal *sreal_init (sreal *, unsigned HOST_WIDE_INT, signed int); extern HOST_WIDE_INT sreal_to_int (sreal *); extern int sreal_compare (sreal *, sreal *); diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index 3843b139eff..6be417b0f25 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -7062,7 +7062,8 @@ print_loop (FILE *file, struct loop *loop, int indent, int verbosity) loop, or just its structure. */ static void -print_loop_and_siblings (FILE *file, struct loop *loop, int indent, int verbosity) +print_loop_and_siblings (FILE *file, struct loop *loop, int indent, + int verbosity) { if (loop == NULL) return; @@ -7084,6 +7085,40 @@ print_loops (FILE *file, int verbosity) print_loop_and_siblings (file, bb->loop_father, 0, verbosity); } +/* Dump a loop. */ + +DEBUG_FUNCTION void +debug (struct loop &ref) +{ + print_loop (stderr, &ref, 0, /*verbosity*/0); +} + +DEBUG_FUNCTION void +debug (struct loop *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + +/* Dump a loop verbosely. */ + +DEBUG_FUNCTION void +debug_verbose (struct loop &ref) +{ + print_loop (stderr, &ref, 0, /*verbosity*/3); +} + +DEBUG_FUNCTION void +debug_verbose (struct loop *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + /* Debugging loops structure at tree level, at some VERBOSITY level. */ diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c index a387d8202e6..10431c09237 100644 --- a/gcc/tree-data-ref.c +++ b/gcc/tree-data-ref.c @@ -149,6 +149,24 @@ dump_data_references (FILE *file, vec<data_reference_p> datarefs) dump_data_reference (file, dr); } +/* Unified dump into FILE all the data references from DATAREFS. */ + +DEBUG_FUNCTION void +debug (vec<data_reference_p> &ref) +{ + dump_data_references (stderr, ref); +} + +DEBUG_FUNCTION void +debug (vec<data_reference_p> *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + + /* Dump into STDERR all the data references from DATAREFS. */ DEBUG_FUNCTION void @@ -190,6 +208,24 @@ dump_data_reference (FILE *outf, fprintf (outf, "#)\n"); } +/* Unified dump function for a DATA_REFERENCE structure. */ + +DEBUG_FUNCTION void +debug (data_reference &ref) +{ + dump_data_reference (stderr, &ref); +} + +DEBUG_FUNCTION void +debug (data_reference *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + + /* Dumps the affine function described by FN to the file OUTF. */ static void @@ -442,6 +478,22 @@ dump_data_dependence_relations (FILE *file, dump_data_dependence_relation (file, ddr); } +DEBUG_FUNCTION void +debug (vec<ddr_p> &ref) +{ + dump_data_dependence_relations (stderr, ref); +} + +DEBUG_FUNCTION void +debug (vec<ddr_p> *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + + /* Dump to STDERR all the dependence relations from DDRS. */ DEBUG_FUNCTION void diff --git a/gcc/tree-data-ref.h b/gcc/tree-data-ref.h index c5d3e86c0d1..27737262b1f 100644 --- a/gcc/tree-data-ref.h +++ b/gcc/tree-data-ref.h @@ -369,10 +369,16 @@ extern bool compute_data_dependences_for_bb (basic_block, bool, vec<ddr_p> *); extern void debug_ddrs (vec<ddr_p> ); extern void dump_data_reference (FILE *, struct data_reference *); +extern void debug (data_reference &ref); +extern void debug (data_reference *ptr); extern void debug_data_reference (struct data_reference *); extern void debug_data_references (vec<data_reference_p> ); +extern void debug (vec<data_reference_p> &ref); +extern void debug (vec<data_reference_p> *ptr); extern void debug_data_dependence_relation (struct data_dependence_relation *); extern void dump_data_dependence_relations (FILE *, vec<ddr_p> ); +extern void debug (vec<ddr_p> &ref); +extern void debug (vec<ddr_p> *ptr); extern void debug_data_dependence_relations (vec<ddr_p> ); extern void free_dependence_relation (struct data_dependence_relation *); extern void free_dependence_relations (vec<ddr_p> ); diff --git a/gcc/tree-dump.c b/gcc/tree-dump.c index 2a39ae449d2..12a2be7e49e 100644 --- a/gcc/tree-dump.c +++ b/gcc/tree-dump.c @@ -28,6 +28,7 @@ along with GCC; see the file COPYING3. If not see #include "tree-dump.h" #include "langhooks.h" #include "tree-iterator.h" +#include "tree-pretty-print.h" static unsigned int queue (dump_info_p, const_tree, int); static void dump_index (dump_info_p, unsigned int); diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index 20584b8c60f..389246d406f 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -378,6 +378,10 @@ extern void dot_cfg (void); extern void debug_cfg_stats (void); extern void debug_loops (int); extern void debug_loop (struct loop *, int); +extern void debug (struct loop &ref); +extern void debug (struct loop *ptr); +extern void debug_verbose (struct loop &ref); +extern void debug_verbose (struct loop *ptr); extern void debug_loop_num (unsigned, int); extern void print_loops (FILE *, int); extern void print_loops_bb (FILE *, basic_block, int, int); diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c index 878d8407185..a83e35165d7 100644 --- a/gcc/tree-ssa-alias.c +++ b/gcc/tree-ssa-alias.c @@ -454,6 +454,25 @@ dump_points_to_solution (FILE *file, struct pt_solution *pt) } } + +/* Unified dump function for pt_solution. */ + +DEBUG_FUNCTION void +debug (pt_solution &ref) +{ + dump_points_to_solution (stderr, &ref); +} + +DEBUG_FUNCTION void +debug (pt_solution *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + + /* Dump points-to information for SSA_NAME PTR into FILE. */ void diff --git a/gcc/tree-ssa-alias.h b/gcc/tree-ssa-alias.h index 369d4a9b0d2..96d01928e9d 100644 --- a/gcc/tree-ssa-alias.h +++ b/gcc/tree-ssa-alias.h @@ -120,6 +120,8 @@ extern struct ptr_info_def *get_ptr_info (tree); extern void dump_alias_info (FILE *); extern void debug_alias_info (void); extern void dump_points_to_solution (FILE *, struct pt_solution *); +extern void debug (pt_solution &ref); +extern void debug (pt_solution *ptr); extern void dump_points_to_info_for (FILE *, tree); extern void debug_points_to_info_for (tree); extern void dump_alias_stats (FILE *); diff --git a/gcc/tree-ssa-live.c b/gcc/tree-ssa-live.c index 7c763eacecb..756fa373847 100644 --- a/gcc/tree-ssa-live.c +++ b/gcc/tree-ssa-live.c @@ -1214,6 +1214,24 @@ dump_var_map (FILE *f, var_map map) } +/* Generic dump for the above. */ + +DEBUG_FUNCTION void +debug (_var_map &ref) +{ + dump_var_map (stderr, &ref); +} + +DEBUG_FUNCTION void +debug (_var_map *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + + /* Output live range info LIVE to file F, controlled by FLAG. */ void @@ -1253,6 +1271,25 @@ dump_live_info (FILE *f, tree_live_info_p live, int flag) } } + +/* Generic dump for the above. */ + +DEBUG_FUNCTION void +debug (tree_live_info_d &ref) +{ + dump_live_info (stderr, &ref, 0); +} + +DEBUG_FUNCTION void +debug (tree_live_info_d *ptr) +{ + if (ptr) + debug (*ptr); + else + fprintf (stderr, "<nil>\n"); +} + + #ifdef ENABLE_CHECKING /* Verify that SSA_VAR is a non-virtual SSA_NAME. */ diff --git a/gcc/tree-ssa-live.h b/gcc/tree-ssa-live.h index 2d89e159df6..8fd1e80d549 100644 --- a/gcc/tree-ssa-live.h +++ b/gcc/tree-ssa-live.h @@ -71,6 +71,8 @@ typedef struct _var_map extern var_map init_var_map (int); extern void delete_var_map (var_map); extern void dump_var_map (FILE *, var_map); +extern void debug (_var_map &ref); +extern void debug (_var_map *ptr); extern int var_union (var_map, tree, tree); extern void partition_view_normal (var_map, bool); extern void partition_view_bitmap (var_map, bitmap, bool); @@ -247,6 +249,8 @@ extern void delete_tree_live_info (tree_live_info_p); #define LIVEDUMP_EXIT 0x02 #define LIVEDUMP_ALL (LIVEDUMP_ENTRY | LIVEDUMP_EXIT) extern void dump_live_info (FILE *, tree_live_info_p, int); +extern void debug (tree_live_info_d &ref); +extern void debug (tree_live_info_d *ptr); /* Return TRUE if P is marked as a global in LIVE. */ diff --git a/gcc/tree.h b/gcc/tree.h index f1b988ca7bb..1eedf1f5c3e 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -5985,7 +5985,19 @@ extern void print_rtl (FILE *, const_rtx); /* In print-tree.c */ extern void debug_tree (tree); +extern void debug_raw (const tree_node &ref); +extern void debug_raw (const tree_node *ptr); +extern void debug (const tree_node &ref); +extern void debug (const tree_node *ptr); +extern void debug_verbose (const tree_node &ref); +extern void debug_verbose (const tree_node *ptr); +extern void debug_head (const tree_node &ref); +extern void debug_head (const tree_node *ptr); +extern void debug_body (const tree_node &ref); +extern void debug_body (const tree_node *ptr); extern void debug_vec_tree (vec<tree, va_gc> *); +extern void debug (vec<tree, va_gc> &ref); +extern void debug (vec<tree, va_gc> *ptr); #ifdef BUFSIZ extern void dump_addr (FILE*, const char *, const void *); extern void print_node (FILE *, const char *, tree, int); |