tree-vrp.c (debug_value_range, [...]): Annotate with DEBUG_FUNCTION.

* tree-vrp.c (debug_value_range, debug_all_value_ranges,
	debug_asserts_for, debug_all_asserts): Annotate with DEBUG_FUNCTION.
	* tree-into-ssa.c (debug_decl_set, debug_defs_stack, debug_currdefs,
	debug_tree_ssa, debug_tree_ssa_stats, debug_def_blocks,
	debug_names_replaced_by, debug_update_ssa): Likewise.	
	* sbitmap.c (debug_sbitmap): Likewise.
	* genrecog.c (debug_decision, debug_decision_list): Likewise.
	* tree-pretty-print.c (debug_generic_expr, debug_generic_stmt,
	debug_tree_chain): Likewise.
	* tree-loop-distribution.c (debug_rdg_partitions): Likewise.
	* cgraph.c (debug_cgraph_node, debug_cgraph): Likewise.
	* optabs.c  (debug_optab_libfuncs): Likewise.
	(verify_loop_closed_ssa): Likewise.
	* value-prof.c (verify_histograms): Likewise.
	* reload.c (debug_reload_to_stream, debug_reload): Likewise.
	* bitmap.c (debug_bitmap_file, debug_bitmap, bitmap_print): Likewise.
	* cfghooks.c (verify_flow_info): Likewise.
	* fold-const.c (debug_fold_checksum): Likewise.
	* omp-low.c (debug_omp_region, debug_all_omp_regions): Likewise.
	* cfg.c (debug_regset, debug_flow_info, debug_bb, debug_bb_n):
	Likewise.
	* omega.c (debug_omega_problem): Likewise.
	* cgraphunit.c (verify_cgraph_node, verify_cgraph): Likewise.
	* tree-ssa-ccp.c (debug_lattice_value): Likewise.
	* dominance.c (verify_dominators, debug_dominance_info,
	debug_dominance_tree): Likewise.
	* df-core.c (df_insn_uid_debug, df_insn_debug, df_insn_debug_regno,
	* df_regno_debug, df_ref_debug,
	debug_df_insn, debug_df_reg, debug_df_regno, debug_df_ref,
	debug_df_defno, debug_df_useno, debug_df_chain): Likewise.
	* tree-ssa-dom.c (debug_dominator_optimization_stats): Likewise.
	* sel-sched.c (debug_state): Likewise.
	* tree-ssa-alias.c (debug_alias_info, debug_points_to_info_for): Likewise.
	* cfganal.c (print_edge_list, verify_edge_list): Likewise.
	* dwarf2out.c (debug_dwarf_die, debug_dwarf): Likewise.
	* tree-eh.c (verify_eh_edges, verify_eh_dispatch_edge): Likewise.
	* gimple-pretty-print.c (debug_gimple_stmt, debug_gimple_seq): Likewise.
	* c-pretty-print.c (debug_c_tree): Likewise.
	* sel-sched-dump.c (debug_insn_rtx, debug_vinsn, debug_expr, debug_insn
	debug_av_set, debug_lv_set, debug_ilist, debug_blist, debug_insn_vector,
	debug_hard_reg_set, debug_mem_addr_value): Likewise.
	* ebitmap.c (debug_ebitmap): Likewise.
	* function.c (debug_find_var_in_block_tree): Likewise.
	* print-rtl.c (debug_rtx): Likewise.
	(debug_rtx_count): Likewise.
	(debug_rtx_list, debug_rtx_range, debug_rtx_find): Likewise.
	* stor-layout.c (debug_rli): Likewise.
	* ipa.c (debug_cgraph_node_set, debug_varpool_node_set): Likewise.
	* tree-data-ref.c (debug_data_references, debug_data_dependence_relations,
	debug_data_reference, debug_data_dependence_relation, debug_rdg_vertex,
	debug_rdg_component, debug_rdg): Likewise.
	* tree-affine.c (debug_aff): Likewise.
	* tree-dfa.c (debug_referenced_vars, debug_variable, debug_dfa_stats): Likewise.
	* except.c (debug_eh_tree, verify_eh_tree): Likewise.
	* emit-rtl.c (verify_rtl_sharing): Likewise.
	* tree-ssa-pre.c (debug_pre_expr, debug_bitmap_set,
	debug_value_expressions): Likewise.
	* tree-ssa-live.c (debug_scope_block, debug_scope_blocks): Likewise.
	* sese.c (debug_rename_map, debug_ivtype_map): Likewise.
	* print-tree.c (debug_tree, debug_vec_tree): Likewise.
	* cfglayout.c (verify_insn_chain): Likewise.
	* graphite-clast-to-gimple.c (debug_clast_name_indexes,
	debug_clast_stmt, debug_generated_program): Likewise.
	* ggc-page.c (debug_print_page_list): Likewise.
	* tree-ssa-ter.c (debug_ter): Likewise.
	* graphite-dependences.c (debug_pddr): Likewise.
	* sched-deps.c (debug_ds): Likewise.
	* tree-ssa.c (verify_ssa): Likewise.
	* graphite-poly.c (debug_scattering_function, debug_iteration_domain,
	debug_scattering_functions, debug_iteration_domains, debug_pdr,
	debug_pdrs, debug_pbb_domain, debug_pbb, debug_scop_context, debug_scop,
	debug_cloog, debug_scop_params, debug_lst): Likewise.
	* tree-inline.c (debug_find_tree): Likewise.
	* graphite-ppl.c (debug_ppl_linear_expr, debug_ppl_polyhedron_matrix,
	debug_ppl_powerset_matrix): Likewise.
	* var-tracking.c (debug_dv): Likewise.
	* system.h (DEBUG_FUNCTION, DEBUG_VARIABLE): Define.
	* cfgloop.c (verify_loop_structure): Likewise.
	* plugin.c (dump_active_plugins, debug_active_plugins): Likewise.
	* c-common.c (verify_sequence_points): Likewise.
	* sched-rgn.c (debug_regions, debug_region, debug_candidate,
	debug_candidates, debug_rgn_dependencies): Likewise.
	* tree-ssa-structalias.c (debug_constraint, debug_constraints,
	* debug_constraint_graph, debug_solution_for_var,
	debug_sa_points_to_info): Likewise.
	* sched-vis.c (debug_insn_slim, debug_bb_slim, debug_bb_n_slim):
	Likewie.
	* tree-cfg.c (debug_cfg_stats, verify_stmts, debug_function,
	debug_loops, debug_loop, debug_loop_num): Likewise.
	* passes.c (debug_pass): Likewise.
	(dump_properties): Likewise; add cfglayout property.
	(debug_properties): Likewise.
	* tree-ssa-reassoc.c (debug_ops_vector): Likewise.
	* varpool.c (debug_varpool): Likewise.
	* regcprop.c (debug_value_data): Likewise.
	* tree-ssa-operands.c (verify_imm_links, debug_immediate_uses,
	debug_immediate_uses_for): Likewise.

From-SVN: r160036
This commit is contained in:
Jan Hubicka 2010-05-29 22:31:45 +02:00 committed by Jan Hubicka
parent f9897dfa6b
commit 24e47c76ba
68 changed files with 282 additions and 170 deletions

View File

@ -1,3 +1,103 @@
2010-05-29 Jan Hubicka <jh@suse.cz>
* tree-vrp.c (debug_value_range, debug_all_value_ranges,
debug_asserts_for, debug_all_asserts): Annotate with DEBUG_FUNCTION.
* tree-into-ssa.c (debug_decl_set, debug_defs_stack, debug_currdefs,
debug_tree_ssa, debug_tree_ssa_stats, debug_def_blocks,
debug_names_replaced_by, debug_update_ssa): Likewise.
* sbitmap.c (debug_sbitmap): Likewise.
* genrecog.c (debug_decision, debug_decision_list): Likewise.
* tree-pretty-print.c (debug_generic_expr, debug_generic_stmt,
debug_tree_chain): Likewise.
* tree-loop-distribution.c (debug_rdg_partitions): Likewise.
* cgraph.c (debug_cgraph_node, debug_cgraph): Likewise.
* optabs.c (debug_optab_libfuncs): Likewise.
(verify_loop_closed_ssa): Likewise.
* value-prof.c (verify_histograms): Likewise.
* reload.c (debug_reload_to_stream, debug_reload): Likewise.
* bitmap.c (debug_bitmap_file, debug_bitmap, bitmap_print): Likewise.
* cfghooks.c (verify_flow_info): Likewise.
* fold-const.c (debug_fold_checksum): Likewise.
* omp-low.c (debug_omp_region, debug_all_omp_regions): Likewise.
* cfg.c (debug_regset, debug_flow_info, debug_bb, debug_bb_n):
Likewise.
* omega.c (debug_omega_problem): Likewise.
* cgraphunit.c (verify_cgraph_node, verify_cgraph): Likewise.
* tree-ssa-ccp.c (debug_lattice_value): Likewise.
* dominance.c (verify_dominators, debug_dominance_info,
debug_dominance_tree): Likewise.
* df-core.c (df_insn_uid_debug, df_insn_debug, df_insn_debug_regno,
* df_regno_debug, df_ref_debug,
debug_df_insn, debug_df_reg, debug_df_regno, debug_df_ref,
debug_df_defno, debug_df_useno, debug_df_chain): Likewise.
* tree-ssa-dom.c (debug_dominator_optimization_stats): Likewise.
* sel-sched.c (debug_state): Likewise.
* tree-ssa-alias.c (debug_alias_info, debug_points_to_info_for): Likewise.
* cfganal.c (print_edge_list, verify_edge_list): Likewise.
* dwarf2out.c (debug_dwarf_die, debug_dwarf): Likewise.
* tree-eh.c (verify_eh_edges, verify_eh_dispatch_edge): Likewise.
* gimple-pretty-print.c (debug_gimple_stmt, debug_gimple_seq): Likewise.
* c-pretty-print.c (debug_c_tree): Likewise.
* sel-sched-dump.c (debug_insn_rtx, debug_vinsn, debug_expr, debug_insn
debug_av_set, debug_lv_set, debug_ilist, debug_blist, debug_insn_vector,
debug_hard_reg_set, debug_mem_addr_value): Likewise.
* ebitmap.c (debug_ebitmap): Likewise.
* function.c (debug_find_var_in_block_tree): Likewise.
* print-rtl.c (debug_rtx): Likewise.
(debug_rtx_count): Likewise.
(debug_rtx_list, debug_rtx_range, debug_rtx_find): Likewise.
* stor-layout.c (debug_rli): Likewise.
* ipa.c (debug_cgraph_node_set, debug_varpool_node_set): Likewise.
* tree-data-ref.c (debug_data_references, debug_data_dependence_relations,
debug_data_reference, debug_data_dependence_relation, debug_rdg_vertex,
debug_rdg_component, debug_rdg): Likewise.
* tree-affine.c (debug_aff): Likewise.
* tree-dfa.c (debug_referenced_vars, debug_variable, debug_dfa_stats): Likewise.
* except.c (debug_eh_tree, verify_eh_tree): Likewise.
* emit-rtl.c (verify_rtl_sharing): Likewise.
* tree-ssa-pre.c (debug_pre_expr, debug_bitmap_set,
debug_value_expressions): Likewise.
* tree-ssa-live.c (debug_scope_block, debug_scope_blocks): Likewise.
* sese.c (debug_rename_map, debug_ivtype_map): Likewise.
* print-tree.c (debug_tree, debug_vec_tree): Likewise.
* cfglayout.c (verify_insn_chain): Likewise.
* graphite-clast-to-gimple.c (debug_clast_name_indexes,
debug_clast_stmt, debug_generated_program): Likewise.
* ggc-page.c (debug_print_page_list): Likewise.
* tree-ssa-ter.c (debug_ter): Likewise.
* graphite-dependences.c (debug_pddr): Likewise.
* sched-deps.c (debug_ds): Likewise.
* tree-ssa.c (verify_ssa): Likewise.
* graphite-poly.c (debug_scattering_function, debug_iteration_domain,
debug_scattering_functions, debug_iteration_domains, debug_pdr,
debug_pdrs, debug_pbb_domain, debug_pbb, debug_scop_context, debug_scop,
debug_cloog, debug_scop_params, debug_lst): Likewise.
* tree-inline.c (debug_find_tree): Likewise.
* graphite-ppl.c (debug_ppl_linear_expr, debug_ppl_polyhedron_matrix,
debug_ppl_powerset_matrix): Likewise.
* var-tracking.c (debug_dv): Likewise.
* system.h (DEBUG_FUNCTION, DEBUG_VARIABLE): Define.
* cfgloop.c (verify_loop_structure): Likewise.
* plugin.c (dump_active_plugins, debug_active_plugins): Likewise.
* c-common.c (verify_sequence_points): Likewise.
* sched-rgn.c (debug_regions, debug_region, debug_candidate,
debug_candidates, debug_rgn_dependencies): Likewise.
* tree-ssa-structalias.c (debug_constraint, debug_constraints,
* debug_constraint_graph, debug_solution_for_var,
debug_sa_points_to_info): Likewise.
* sched-vis.c (debug_insn_slim, debug_bb_slim, debug_bb_n_slim):
Likewie.
* tree-cfg.c (debug_cfg_stats, verify_stmts, debug_function,
debug_loops, debug_loop, debug_loop_num): Likewise.
* passes.c (debug_pass): Likewise.
(dump_properties): Likewise; add cfglayout property.
(debug_properties): Likewise.
* tree-ssa-reassoc.c (debug_ops_vector): Likewise.
* varpool.c (debug_varpool): Likewise.
* regcprop.c (debug_value_data): Likewise.
* tree-ssa-operands.c (verify_imm_links, debug_immediate_uses,
debug_immediate_uses_for): Likewise.
2010-05-29 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/44315

View File

@ -2023,7 +2023,7 @@ bitmap_ior_and_into (bitmap a, const_bitmap b, const_bitmap c)
/* Debugging function to print out the contents of a bitmap. */
void
DEBUG_FUNCTION void
debug_bitmap_file (FILE *file, const_bitmap head)
{
const bitmap_element *ptr;
@ -2063,7 +2063,7 @@ debug_bitmap_file (FILE *file, const_bitmap head)
/* Function to be called from the debugger to print the contents
of a bitmap. */
void
DEBUG_FUNCTION void
debug_bitmap (const_bitmap head)
{
debug_bitmap_file (stdout, head);
@ -2072,7 +2072,7 @@ debug_bitmap (const_bitmap head)
/* Function to print out the contents of a bitmap. Unlike debug_bitmap_file,
it does not print anything but the bits. */
void
DEBUG_FUNCTION void
bitmap_print (FILE *file, const_bitmap head, const char *prefix, const char *suffix)
{
const char *comma = "";

View File

@ -2705,7 +2705,7 @@ verify_tree (tree x, struct tlist **pbefore_sp, struct tlist **pno_sp,
/* Try to warn for undefined behavior in EXPR due to missing sequence
points. */
void
DEBUG_FUNCTION void
verify_sequence_points (tree expr)
{
struct tlist *before_sp = 0, *after_sp = 0;

View File

@ -2231,7 +2231,7 @@ print_c_tree (FILE *file, tree t)
/* Print the tree T in full, on stderr. */
void
DEBUG_FUNCTION void
debug_c_tree (tree t)
{
print_c_tree (stderr, t);

View File

@ -514,7 +514,7 @@ dump_regset (regset r, FILE *outf)
stream. This function is designed to be used from within the
debugger. */
void
DEBUG_FUNCTION void
debug_regset (regset r)
{
dump_regset (r, stderr);
@ -668,7 +668,7 @@ dump_flow_info (FILE *file, int flags)
putc ('\n', file);
}
void
DEBUG_FUNCTION void
debug_flow_info (void)
{
dump_flow_info (stderr, TDF_DETAILS);
@ -868,13 +868,13 @@ free_aux_for_edges (void)
clear_aux_for_edges ();
}
void
DEBUG_FUNCTION void
debug_bb (basic_block bb)
{
dump_bb (bb, stderr, 0);
}
basic_block
DEBUG_FUNCTION basic_block
debug_bb_n (int n)
{
basic_block bb = BASIC_BLOCK (n);

View File

@ -389,7 +389,7 @@ free_edge_list (struct edge_list *elist)
/* This function provides debug output showing an edge list. */
void
DEBUG_FUNCTION void
print_edge_list (FILE *f, struct edge_list *elist)
{
int x;
@ -416,7 +416,7 @@ print_edge_list (FILE *f, struct edge_list *elist)
verifying that all edges are present, and that there are no
extra edges. */
void
DEBUG_FUNCTION void
verify_edge_list (FILE *f, struct edge_list *elist)
{
int pred, succ, index;

View File

@ -88,7 +88,7 @@ current_ir_type (void)
Currently it does following: checks edge and basic block list correctness
and calls into IL dependent checking then. */
void
DEBUG_FUNCTION void
verify_flow_info (void)
{
size_t *edge_checksum;

View File

@ -990,7 +990,7 @@ fixup_reorder_chain (void)
2. Count insns in chain, going both directions, and check if equal.
3. Check that get_last_insn () returns the actual end of chain. */
void
DEBUG_FUNCTION void
verify_insn_chain (void)
{
rtx x, prevx, nextx;

View File

@ -1316,7 +1316,7 @@ cancel_loop_tree (struct loop *loop)
-- loop latches have only single successor that is header of their loop
-- irreducible loops are correctly marked
*/
void
DEBUG_FUNCTION void
verify_loop_structure (void)
{
unsigned *sizes, i, j;

View File

@ -1915,7 +1915,7 @@ dump_cgraph_node (FILE *f, struct cgraph_node *node)
/* Dump call graph node NODE to stderr. */
void
DEBUG_FUNCTION void
debug_cgraph_node (struct cgraph_node *node)
{
dump_cgraph_node (stderr, node);
@ -1937,7 +1937,7 @@ dump_cgraph (FILE *f)
/* Dump the call graph to stderr. */
void
DEBUG_FUNCTION void
debug_cgraph (void)
{
dump_cgraph (stderr);

View File

@ -569,7 +569,7 @@ clone_of_p (struct cgraph_node *node, struct cgraph_node *node2)
#endif
/* Verify cgraph nodes of given cgraph node. */
void
DEBUG_FUNCTION void
verify_cgraph_node (struct cgraph_node *node)
{
struct cgraph_edge *e;
@ -878,7 +878,7 @@ verify_cgraph_node (struct cgraph_node *node)
}
/* Verify whole cgraph structure. */
void
DEBUG_FUNCTION void
verify_cgraph (void)
{
struct cgraph_node *node;

View File

@ -2094,13 +2094,13 @@ df_insn_uid_debug (unsigned int uid,
}
void
DEBUG_FUNCTION void
df_insn_debug (rtx insn, bool follow_chain, FILE *file)
{
df_insn_uid_debug (INSN_UID (insn), follow_chain, file);
}
void
DEBUG_FUNCTION void
df_insn_debug_regno (rtx insn, FILE *file)
{
struct df_insn_info *insn_info = DF_INSN_INFO_GET (insn);
@ -2118,7 +2118,7 @@ df_insn_debug_regno (rtx insn, FILE *file)
fprintf (file, "\n");
}
void
DEBUG_FUNCTION void
df_regno_debug (unsigned int regno, FILE *file)
{
fprintf (file, "reg %d defs ", regno);
@ -2131,7 +2131,7 @@ df_regno_debug (unsigned int regno, FILE *file)
}
void
DEBUG_FUNCTION void
df_ref_debug (df_ref ref, FILE *file)
{
fprintf (file, "%c%d ",
@ -2159,7 +2159,7 @@ df_ref_debug (df_ref ref, FILE *file)
/* Functions for debugging from GDB. */
void
DEBUG_FUNCTION void
debug_df_insn (rtx insn)
{
df_insn_debug (insn, true, stderr);
@ -2167,42 +2167,42 @@ debug_df_insn (rtx insn)
}
void
DEBUG_FUNCTION void
debug_df_reg (rtx reg)
{
df_regno_debug (REGNO (reg), stderr);
}
void
DEBUG_FUNCTION void
debug_df_regno (unsigned int regno)
{
df_regno_debug (regno, stderr);
}
void
DEBUG_FUNCTION void
debug_df_ref (df_ref ref)
{
df_ref_debug (ref, stderr);
}
void
DEBUG_FUNCTION void
debug_df_defno (unsigned int defno)
{
df_ref_debug (DF_DEFS_GET (defno), stderr);
}
void
DEBUG_FUNCTION void
debug_df_useno (unsigned int defno)
{
df_ref_debug (DF_USES_GET (defno), stderr);
}
void
DEBUG_FUNCTION void
debug_df_chain (struct df_link *link)
{
df_chain_dump (link, stderr);

View File

@ -989,7 +989,7 @@ bb_dom_dfs_out (enum cdi_direction dir, basic_block bb)
}
/* Verify invariants of dominator structure. */
void
DEBUG_FUNCTION void
verify_dominators (enum cdi_direction dir)
{
int err = 0;
@ -1466,7 +1466,7 @@ dom_info_available_p (enum cdi_direction dir)
return dom_computed[dir_index] != DOM_NONE;
}
void
DEBUG_FUNCTION void
debug_dominance_info (enum cdi_direction dir)
{
basic_block bb, bb2;
@ -1507,7 +1507,7 @@ debug_dominance_tree_1 (enum cdi_direction dir, basic_block root,
/* Prints to stderr representation of the dominance tree (for direction DIR)
rooted in ROOT. */
void
DEBUG_FUNCTION void
debug_dominance_tree (enum cdi_direction dir, basic_block root)
{
debug_dominance_tree_1 (dir, root, 0, false);

View File

@ -8239,7 +8239,7 @@ print_dwarf_line_table (FILE *outfile)
/* Print the information collected for a given DIE. */
void
DEBUG_FUNCTION void
debug_dwarf_die (dw_die_ref die)
{
print_die (die, stderr);
@ -8248,7 +8248,7 @@ debug_dwarf_die (dw_die_ref die)
/* Print all DWARF information collected for the compilation unit.
This routine is a debugging aid only. */
void
DEBUG_FUNCTION void
debug_dwarf (void)
{
print_indent = 0;

View File

@ -410,7 +410,7 @@ dump_ebitmap (FILE *file, ebitmap bmap)
/* Dump ebitmap BMAP to stderr. */
void
DEBUG_FUNCTION void
debug_ebitmap (ebitmap bmap)
{
dump_ebitmap (stderr, bmap);

View File

@ -2537,7 +2537,7 @@ verify_rtx_sharing (rtx orig, rtx insn)
/* Go through all the RTL insn bodies and check that there is no unexpected
sharing in between the subexpressions. */
void
DEBUG_FUNCTION void
verify_rtl_sharing (void)
{
rtx p;

View File

@ -3307,7 +3307,7 @@ dump_eh_tree (FILE * out, struct function *fun)
/* Dump the EH tree for FN on stderr. */
void
DEBUG_FUNCTION void
debug_eh_tree (struct function *fn)
{
dump_eh_tree (stderr, fn);
@ -3315,7 +3315,7 @@ debug_eh_tree (struct function *fn)
/* Verify invariants on EH datastructures. */
void
DEBUG_FUNCTION void
verify_eh_tree (struct function *fun)
{
eh_region r, outer;

View File

@ -13768,7 +13768,7 @@ recursive_label:
by "call debug_fold_checksum (op0)", then just trace down till the
outputs differ. */
void
DEBUG_FUNCTION void
debug_fold_checksum (const_tree t)
{
int i;

View File

@ -4084,7 +4084,7 @@ number_blocks (tree fn)
/* If VAR is present in a subblock of BLOCK, return the subblock. */
tree
DEBUG_FUNCTION tree
debug_find_var_in_block_tree (tree var, tree block)
{
tree t;

View File

@ -2897,13 +2897,13 @@ debug_decision_0 (struct decision *d, int indent, int maxdepth)
debug_decision_0 (n, indent + 2, maxdepth - 1);
}
void
DEBUG_FUNCTION void
debug_decision (struct decision *d)
{
debug_decision_0 (d, 0, 1000000);
}
void
DEBUG_FUNCTION void
debug_decision_list (struct decision *d)
{
while (d)

View File

@ -645,7 +645,7 @@ found:
/* Prints the page-entry for object size ORDER, for debugging. */
void
DEBUG_FUNCTION void
debug_print_page_list (int order)
{
page_entry *p;

View File

@ -81,7 +81,7 @@ newline_and_indent (pretty_printer *buffer, int spc)
/* Print the GIMPLE statement GS on stderr. */
void
DEBUG_FUNCTION void
debug_gimple_stmt (gimple gs)
{
print_gimple_stmt (stderr, gs, 0, TDF_VOPS|TDF_MEMSYMS);
@ -147,7 +147,7 @@ print_gimple_seq (FILE *file, gimple_seq seq, int spc, int flags)
/* Print the GIMPLE sequence SEQ on stderr. */
void
DEBUG_FUNCTION void
debug_gimple_seq (gimple_seq seq)
{
print_gimple_seq (stderr, seq, 0, TDF_VOPS|TDF_MEMSYMS);

View File

@ -149,7 +149,7 @@ debug_clast_name_indexes_1 (void **slot, void *s ATTRIBUTE_UNUSED)
/* Print to stderr all the elements of MAP. */
void
DEBUG_FUNCTION void
debug_clast_name_indexes (htab_t map)
{
htab_traverse (map, debug_clast_name_indexes_1, NULL);
@ -1481,7 +1481,7 @@ print_clast_stmt (FILE *file, struct clast_stmt *stmt)
/* Prints STMT to STDERR. */
void
DEBUG_FUNCTION void
debug_clast_stmt (struct clast_stmt *stmt)
{
print_clast_stmt (stderr, stmt);
@ -1530,7 +1530,7 @@ print_generated_program (FILE *file, scop_p scop)
/* Prints to STDERR the code generated by CLooG for SCOP. */
void
DEBUG_FUNCTION void
debug_generated_program (scop_p scop)
{
print_generated_program (stderr, scop);

View File

@ -202,7 +202,7 @@ print_pddr (FILE *file, poly_ddr_p pddr)
/* Prints to STDERR the poly_ddr_p PDDR. */
void
DEBUG_FUNCTION void
debug_pddr (poly_ddr_p pddr)
{
print_pddr (stderr, pddr);

View File

@ -242,7 +242,7 @@ print_iteration_domains (FILE *file, scop_p scop, int verbosity)
/* Prints to STDERR the scattering function of PBB, at some VERBOSITY
level. */
void
DEBUG_FUNCTION void
debug_scattering_function (poly_bb_p pbb, int verbosity)
{
print_scattering_function (stderr, pbb, verbosity);
@ -251,7 +251,7 @@ debug_scattering_function (poly_bb_p pbb, int verbosity)
/* Prints to STDERR the iteration domain of PBB, at some VERBOSITY
level. */
void
DEBUG_FUNCTION void
debug_iteration_domain (poly_bb_p pbb, int verbosity)
{
print_iteration_domain (stderr, pbb, verbosity);
@ -260,7 +260,7 @@ debug_iteration_domain (poly_bb_p pbb, int verbosity)
/* Prints to STDERR the scattering functions of every PBB of SCOP, at
some VERBOSITY level. */
void
DEBUG_FUNCTION void
debug_scattering_functions (scop_p scop, int verbosity)
{
print_scattering_functions (stderr, scop, verbosity);
@ -269,7 +269,7 @@ debug_scattering_functions (scop_p scop, int verbosity)
/* Prints to STDERR the iteration domains of every PBB of SCOP, at
some VERBOSITY level. */
void
DEBUG_FUNCTION void
debug_iteration_domains (scop_p scop, int verbosity)
{
print_iteration_domains (stderr, scop, verbosity);
@ -500,7 +500,7 @@ print_pdr (FILE *file, poly_dr_p pdr, int verbosity)
/* Prints to STDERR the polyhedral data reference PDR, at some
VERBOSITY level. */
void
DEBUG_FUNCTION void
debug_pdr (poly_dr_p pdr, int verbosity)
{
print_pdr (stderr, pdr, verbosity);
@ -703,7 +703,7 @@ print_pdrs (FILE *file, poly_bb_p pbb, int verbosity)
/* Print to STDERR all the data references of PBB. */
void
DEBUG_FUNCTION void
debug_pdrs (poly_bb_p pbb, int verbosity)
{
print_pdrs (stderr, pbb, verbosity);
@ -937,7 +937,7 @@ print_cloog (FILE *file, scop_p scop, int verbosity)
/* Print to STDERR the domain of PBB, at some VERBOSITY level. */
void
DEBUG_FUNCTION void
debug_pbb_domain (poly_bb_p pbb, int verbosity)
{
print_pbb_domain (stderr, pbb, verbosity);
@ -946,7 +946,7 @@ debug_pbb_domain (poly_bb_p pbb, int verbosity)
/* Print to FILE the domain and scattering function of PBB, at some
VERBOSITY level. */
void
DEBUG_FUNCTION void
debug_pbb (poly_bb_p pbb, int verbosity)
{
print_pbb (stderr, pbb, verbosity);
@ -954,7 +954,7 @@ debug_pbb (poly_bb_p pbb, int verbosity)
/* Print to STDERR the context of SCOP, at some VERBOSITY level. */
void
DEBUG_FUNCTION void
debug_scop_context (scop_p scop, int verbosity)
{
print_scop_context (stderr, scop, verbosity);
@ -962,7 +962,7 @@ debug_scop_context (scop_p scop, int verbosity)
/* Print to STDERR the SCOP, at some VERBOSITY level. */
void
DEBUG_FUNCTION void
debug_scop (scop_p scop, int verbosity)
{
print_scop (stderr, scop, verbosity);
@ -971,7 +971,7 @@ debug_scop (scop_p scop, int verbosity)
/* Print to STDERR the SCOP under CLooG format, at some VERBOSITY
level. */
void
DEBUG_FUNCTION void
debug_cloog (scop_p scop, int verbosity)
{
print_cloog (stderr, scop, verbosity);
@ -980,7 +980,7 @@ debug_cloog (scop_p scop, int verbosity)
/* Print to STDERR the parameters of SCOP, at some VERBOSITY
level. */
void
DEBUG_FUNCTION void
debug_scop_params (scop_p scop, int verbosity)
{
print_scop_params (stderr, scop, verbosity);
@ -1226,7 +1226,7 @@ print_lst (FILE *file, lst_p lst, int indent)
/* Print LST to STDERR. */
void
DEBUG_FUNCTION void
debug_lst (lst_p lst)
{
print_lst (stderr, lst, 0);

View File

@ -580,7 +580,7 @@ ppl_print_linear_expr (FILE *file, ppl_Linear_Expression_t le)
/* Print to STDERR the linear expression LE. */
void
DEBUG_FUNCTION void
debug_ppl_linear_expr (ppl_Linear_Expression_t le)
{
ppl_print_linear_expr (stderr, le);
@ -618,7 +618,7 @@ ppl_print_powerset_matrix (FILE *file,
/* Print to STDERR the polyhedron PH under its PolyLib matrix form. */
void
DEBUG_FUNCTION void
debug_ppl_polyhedron_matrix (ppl_Polyhedron_t ph)
{
ppl_print_polyhedron_matrix (stderr, ph);
@ -626,7 +626,7 @@ debug_ppl_polyhedron_matrix (ppl_Polyhedron_t ph)
/* Print to STDERR the powerset PS in its PolyLib matrix form. */
void
DEBUG_FUNCTION void
debug_ppl_powerset_matrix (ppl_Pointset_Powerset_C_Polyhedron_t ps)
{
ppl_print_powerset_matrix (stderr, ps);

View File

@ -1004,7 +1004,7 @@ dump_cgraph_node_set (FILE *f, cgraph_node_set set)
/* Dump content of SET to stderr. */
void
DEBUG_FUNCTION void
debug_cgraph_node_set (cgraph_node_set set)
{
dump_cgraph_node_set (stderr, set);
@ -1161,7 +1161,7 @@ dump_varpool_node_set (FILE *f, varpool_node_set set)
/* Dump content of SET to stderr. */
void
DEBUG_FUNCTION void
debug_varpool_node_set (varpool_node_set set)
{
dump_varpool_node_set (stderr, set);

View File

@ -363,7 +363,7 @@ omega_print_vars (FILE *file, omega_pb pb)
/* Debug problem PB. */
void
DEBUG_FUNCTION void
debug_omega_problem (omega_pb pb)
{
omega_print_problem (stderr, pb);

View File

@ -1112,13 +1112,13 @@ dump_omp_region (FILE *file, struct omp_region *region, int indent)
dump_omp_region (file, region->next, indent);
}
void
DEBUG_FUNCTION void
debug_omp_region (struct omp_region *region)
{
dump_omp_region (stderr, region, 0);
}
void
DEBUG_FUNCTION void
debug_all_omp_regions (void)
{
dump_omp_region (stderr, root_omp_region, 0);

View File

@ -6676,7 +6676,7 @@ init_optabs (void)
/* Print information about the current contents of the optabs on
STDERR. */
void
DEBUG_FUNCTION void
debug_optab_libfuncs (void)
{
int i;

View File

@ -121,7 +121,7 @@ print_current_pass (FILE *file)
/* Call from the debugger to get the current pass name. */
void
DEBUG_FUNCTION void
debug_pass (void)
{
print_current_pass (stderr);
@ -1988,7 +1988,7 @@ execute_all_ipa_stmt_fixups (struct cgraph_node *node, gimple *stmts)
extern void debug_properties (unsigned int);
extern void dump_properties (FILE *, unsigned int);
void
DEBUG_FUNCTION void
dump_properties (FILE *dump, unsigned int props)
{
fprintf (dump, "Properties:\n");
@ -2012,9 +2012,11 @@ dump_properties (FILE *dump, unsigned int props)
fprintf (dump, "PROP_gimple_lomp\n");
if (props & PROP_gimple_lcx)
fprintf (dump, "PROP_gimple_lcx\n");
if (props & PROP_cfglayout)
fprintf (dump, "PROP_cfglayout\n");
}
void
DEBUG_FUNCTION void
debug_properties (unsigned int props)
{
dump_properties (stderr, props);

View File

@ -778,7 +778,7 @@ plugins_active_p (void)
/* Dump to FILE the names and associated events for all the active
plugins. */
void
DEBUG_FUNCTION void
dump_active_plugins (FILE *file)
{
int event;
@ -804,7 +804,7 @@ dump_active_plugins (FILE *file)
/* Dump active plugins to stderr. */
void
DEBUG_FUNCTION void
debug_active_plugins (void)
{
dump_active_plugins (stderr);

View File

@ -626,7 +626,7 @@ print_inline_rtx (FILE *outf, const_rtx x, int ind)
/* Call this function from the debugger to see what X looks like. */
void
DEBUG_FUNCTION void
debug_rtx (const_rtx x)
{
outfile = stderr;
@ -638,7 +638,7 @@ debug_rtx (const_rtx x)
/* Count of rtx's to print with debug_rtx_list.
This global exists because gdb user defined commands have no arguments. */
int debug_rtx_count = 0; /* 0 is treated as equivalent to 1 */
DEBUG_VARIABLE int debug_rtx_count = 0; /* 0 is treated as equivalent to 1 */
/* Call this function to print list from X on.
@ -646,7 +646,7 @@ int debug_rtx_count = 0; /* 0 is treated as equivalent to 1 */
rtx on. Negative values print a window around the rtx.
EG: -5 prints 2 rtx's on either side (in addition to the specified rtx). */
void
DEBUG_FUNCTION void
debug_rtx_list (const_rtx x, int n)
{
int i,count;
@ -673,7 +673,7 @@ debug_rtx_list (const_rtx x, int n)
/* Call this function to print an rtx list from START to END inclusive. */
void
DEBUG_FUNCTION void
debug_rtx_range (const_rtx start, const_rtx end)
{
while (1)
@ -690,7 +690,7 @@ debug_rtx_range (const_rtx start, const_rtx end)
and then call debug_rtx_list to print it, using DEBUG_RTX_COUNT.
The found insn is returned to enable further debugging analysis. */
const_rtx
DEBUG_FUNCTION const_rtx
debug_rtx_find (const_rtx x, int uid)
{
while (x != 0 && INSN_UID (x) != uid)

View File

@ -50,7 +50,7 @@ static struct bucket **table;
Most nodes referred to by this one are printed recursively
down to a depth of six. */
void
DEBUG_FUNCTION void
debug_tree (tree node)
{
table = XCNEWVEC (struct bucket *, HASH_SIZE);
@ -64,7 +64,7 @@ debug_tree (tree node)
Most nodes referred to by this one are printed recursively
down to a depth of six. */
void
DEBUG_FUNCTION void
debug_vec_tree (VEC(tree,gc) *vec)
{
table = XCNEWVEC (struct bucket *, HASH_SIZE);

View File

@ -1057,7 +1057,7 @@ copyprop_hardreg_forward (void)
/* Dump the value chain data to stderr. */
void
DEBUG_FUNCTION void
debug_value_data (struct value_data *vd)
{
HARD_REG_SET set;

View File

@ -7337,7 +7337,7 @@ static const char *const reload_when_needed_name[] =
/* These functions are used to print the variables set by 'find_reloads' */
void
DEBUG_FUNCTION void
debug_reload_to_stream (FILE *f)
{
int r;
@ -7432,7 +7432,7 @@ debug_reload_to_stream (FILE *f)
}
}
void
DEBUG_FUNCTION void
debug_reload (void)
{
debug_reload_to_stream (stderr);

View File

@ -1011,7 +1011,7 @@ dump_sbitmap_file (FILE *file, const_sbitmap bmap)
fprintf (file, "}\n");
}
void
DEBUG_FUNCTION void
debug_sbitmap (const_sbitmap bmap)
{
dump_sbitmap_file (stderr, bmap);

View File

@ -4077,7 +4077,7 @@ dump_ds (FILE *f, ds_t s)
fprintf (f, "}");
}
void
DEBUG_FUNCTION void
debug_ds (ds_t s)
{
dump_ds (stderr, s);

View File

@ -354,7 +354,7 @@ extract_edgelst (sbitmap set, edgelst *el)
/* Print the regions, for debugging purposes. Callable from debugger. */
void
DEBUG_FUNCTION void
debug_regions (void)
{
int rgn, bb;
@ -379,7 +379,7 @@ debug_regions (void)
/* Print the region's basic blocks. */
void
DEBUG_FUNCTION void
debug_region (int rgn)
{
int bb;
@ -1594,7 +1594,7 @@ free_trg_info (void)
/* Print candidates info, for debugging purposes. Callable from debugger. */
void
DEBUG_FUNCTION void
debug_candidate (int i)
{
if (!candidate_table[i].is_valid)
@ -1631,7 +1631,7 @@ debug_candidate (int i)
/* Print candidates info, for debugging purposes. Callable from debugger. */
void
DEBUG_FUNCTION void
debug_candidates (int trg)
{
int i;
@ -2775,7 +2775,7 @@ free_pending_lists (void)
Callable from debugger. */
/* Print dependences for debugging starting from FROM_BB.
Callable from debugger. */
void
DEBUG_FUNCTION void
debug_rgn_dependencies (int from_bb)
{
int bb;

View File

@ -763,7 +763,7 @@ dump_insn_slim (FILE *f, rtx x)
}
/* Emit a slim dump of X (an insn) to stderr. */
void
DEBUG_FUNCTION void
debug_insn_slim (rtx x)
{
dump_insn_slim (stderr, x);
@ -814,13 +814,13 @@ print_rtl_slim (FILE *f, rtx first, rtx last, int count, int flags)
}
}
void
DEBUG_FUNCTION void
debug_bb_slim (struct basic_block_def *bb)
{
print_rtl_slim (stderr, BB_HEAD (bb), BB_END (bb), -1, 32);
}
void
DEBUG_FUNCTION void
debug_bb_n_slim (int n)
{
struct basic_block_def *bb = BASIC_BLOCK (n);

View File

@ -164,7 +164,7 @@ dump_insn_rtx (rtx insn)
/* Dump INSN to stderr. */
void
DEBUG_FUNCTION void
debug_insn_rtx (rtx insn)
{
switch_dump (stderr);
@ -214,7 +214,7 @@ dump_vinsn (vinsn_t vi)
}
/* Dump vinsn VI to stderr. */
void
DEBUG_FUNCTION void
debug_vinsn (vinsn_t vi)
{
switch_dump (stderr);
@ -295,7 +295,7 @@ dump_expr (expr_t expr)
}
/* Dump expression EXPR to stderr. */
void
DEBUG_FUNCTION void
debug_expr (expr_t expr)
{
switch_dump (stderr);
@ -353,7 +353,7 @@ dump_insn (insn_t i)
}
/* Dump INSN to stderr. */
void
DEBUG_FUNCTION void
debug_insn (insn_t insn)
{
switch_dump (stderr);
@ -861,7 +861,7 @@ sel_debug_cfg_1 (int flags)
}
/* Dumps av_set AV to stderr. */
void
DEBUG_FUNCTION void
debug_av_set (av_set_t av)
{
switch_dump (stderr);
@ -871,7 +871,7 @@ debug_av_set (av_set_t av)
}
/* Dump LV to stderr. */
void
DEBUG_FUNCTION void
debug_lv_set (regset lv)
{
switch_dump (stderr);
@ -881,7 +881,7 @@ debug_lv_set (regset lv)
}
/* Dump an instruction list P to stderr. */
void
DEBUG_FUNCTION void
debug_ilist (ilist_t p)
{
switch_dump (stderr);
@ -891,7 +891,7 @@ debug_ilist (ilist_t p)
}
/* Dump a boundary list BNDS to stderr. */
void
DEBUG_FUNCTION void
debug_blist (blist_t bnds)
{
switch_dump (stderr);
@ -901,7 +901,7 @@ debug_blist (blist_t bnds)
}
/* Dump an insn vector SUCCS. */
void
DEBUG_FUNCTION void
debug_insn_vector (rtx_vec_t succs)
{
switch_dump (stderr);
@ -911,7 +911,7 @@ debug_insn_vector (rtx_vec_t succs)
}
/* Dump a hard reg set SET to stderr. */
void
DEBUG_FUNCTION void
debug_hard_reg_set (HARD_REG_SET set)
{
switch_dump (stderr);
@ -928,7 +928,7 @@ sel_debug_cfg (void)
}
/* Print a current cselib value for X's address to stderr. */
rtx
DEBUG_FUNCTION rtx
debug_mem_addr_value (rtx x)
{
rtx t, addr;

View File

@ -69,7 +69,7 @@ debug_rename_map_1 (void **slot, void *s ATTRIBUTE_UNUSED)
/* Print to stderr all the elements of MAP. */
void
DEBUG_FUNCTION void
debug_rename_map (htab_t map)
{
htab_traverse (map, debug_rename_map_1, NULL);
@ -118,7 +118,7 @@ debug_ivtype_map_1 (void **slot, void *s ATTRIBUTE_UNUSED)
/* Print to stderr all the elements of MAP. */
void
DEBUG_FUNCTION void
debug_ivtype_map (htab_t map)
{
htab_traverse (map, debug_ivtype_map_1, NULL);

View File

@ -813,7 +813,7 @@ normalize_offset (tree *poffset, tree *pbitpos, unsigned int off_align)
/* Print debugging information about the information in RLI. */
void
DEBUG_FUNCTION void
debug_rli (record_layout_info rli)
{
print_node_brief (stderr, "type", rli->t, 0);

View File

@ -873,4 +873,14 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
#define VALGRIND_FREELIKE_BLOCK(x,y)
#endif
/* In LTO -fwhole-program build we still want to keep the debug functions available
for debugger. Mark them as used to prevent removal. */
#if (GCC_VERSION > 4000)
#define DEBUG_FUNCTION __attribute__ ((__used__))
#define DEBUG_VARIABLE __attribute__ ((__used__))
#else
#define DEBUG_FUNCTION
#define DEBUG_VARIABLE
#endif
#endif /* ! GCC_SYSTEM_H */

View File

@ -818,7 +818,7 @@ print_aff (FILE *file, aff_tree *val)
/* Prints the affine VAL to the standard error, used for debugging. */
void
DEBUG_FUNCTION void
debug_aff (aff_tree *val)
{
print_aff (stderr, val);

View File

@ -2110,7 +2110,7 @@ dump_cfg_stats (FILE *file)
/* Dump CFG statistics on stderr. Keep extern so that it's always
linked in the final executable. */
void
DEBUG_FUNCTION void
debug_cfg_stats (void)
{
dump_cfg_stats (stderr);
@ -4074,7 +4074,7 @@ verify_eh_throw_stmt_node (void **slot, void *data)
/* Verify the GIMPLE statements in every basic block. */
void
DEBUG_FUNCTION void
verify_stmts (void)
{
basic_block bb;
@ -6314,7 +6314,7 @@ dump_function_to_file (tree fn, FILE *file, int flags)
/* Dump FUNCTION_DECL FN to stderr using FLAGS (see TDF_* in tree.h) */
void
DEBUG_FUNCTION void
debug_function (tree fn, int flags)
{
dump_function_to_file (fn, stderr, flags);
@ -6455,7 +6455,7 @@ print_loops (FILE *file, int verbosity)
/* Debugging loops structure at tree level, at some VERBOSITY level. */
void
DEBUG_FUNCTION void
debug_loops (int verbosity)
{
print_loops (stderr, verbosity);
@ -6463,7 +6463,7 @@ debug_loops (int verbosity)
/* Print on stderr the code of LOOP, at some VERBOSITY level. */
void
DEBUG_FUNCTION void
debug_loop (struct loop *loop, int verbosity)
{
print_loop (stderr, loop, 0, verbosity);
@ -6472,7 +6472,7 @@ debug_loop (struct loop *loop, int verbosity)
/* Print on stderr the code of loop number NUM, at some VERBOSITY
level. */
void
DEBUG_FUNCTION void
debug_loop_num (unsigned num, int verbosity)
{
debug_loop (get_loop (num), verbosity);

View File

@ -161,7 +161,7 @@ dump_data_references (FILE *file, VEC (data_reference_p, heap) *datarefs)
/* Dump into STDERR all the data references from DATAREFS. */
void
DEBUG_FUNCTION void
debug_data_references (VEC (data_reference_p, heap) *datarefs)
{
dump_data_references (stderr, datarefs);
@ -169,7 +169,7 @@ debug_data_references (VEC (data_reference_p, heap) *datarefs)
/* Dump to STDERR all the dependence relations from DDRS. */
void
DEBUG_FUNCTION void
debug_data_dependence_relations (VEC (ddr_p, heap) *ddrs)
{
dump_data_dependence_relations (stderr, ddrs);
@ -190,7 +190,7 @@ dump_data_dependence_relations (FILE *file,
/* Print to STDERR the data_reference DR. */
void
DEBUG_FUNCTION void
debug_data_reference (struct data_reference *dr)
{
dump_data_reference (stderr, dr);
@ -364,7 +364,7 @@ print_dist_vectors (FILE *outf, VEC (lambda_vector, heap) *dist_vects,
/* Debug version. */
void
DEBUG_FUNCTION void
debug_data_dependence_relation (struct data_dependence_relation *ddr)
{
dump_data_dependence_relation (stderr, ddr);
@ -4606,7 +4606,7 @@ dump_rdg_vertex (FILE *file, struct graph *rdg, int i)
/* Call dump_rdg_vertex on stderr. */
void
DEBUG_FUNCTION void
debug_rdg_vertex (struct graph *rdg, int i)
{
dump_rdg_vertex (stderr, rdg, i);
@ -4635,7 +4635,7 @@ void dump_rdg_component (FILE *file, struct graph *rdg, int c, bitmap dumped)
/* Call dump_rdg_vertex on stderr. */
void
DEBUG_FUNCTION void
debug_rdg_component (struct graph *rdg, int c)
{
dump_rdg_component (stderr, rdg, c, NULL);
@ -4661,7 +4661,7 @@ dump_rdg (FILE *file, struct graph *rdg)
/* Call dump_rdg on stderr. */
void
DEBUG_FUNCTION void
debug_rdg (struct graph *rdg)
{
dump_rdg (stderr, rdg);

View File

@ -232,7 +232,7 @@ dump_referenced_vars (FILE *file)
/* Dump the list of all the referenced variables to stderr. */
void
DEBUG_FUNCTION void
debug_referenced_vars (void)
{
dump_referenced_vars (stderr);
@ -305,7 +305,7 @@ dump_variable (FILE *file, tree var)
/* Dump variable VAR and its may-aliases to stderr. */
void
DEBUG_FUNCTION void
debug_variable (tree var)
{
dump_variable (stderr, var);
@ -392,7 +392,7 @@ dump_dfa_stats (FILE *file)
/* Dump DFA statistics on stderr. */
void
DEBUG_FUNCTION void
debug_dfa_stats (void)
{
dump_dfa_stats (stderr);

View File

@ -3918,7 +3918,7 @@ struct gimple_opt_pass pass_cleanup_eh = {
/* Verify that BB containing STMT as the last statement, has precisely the
edge that make_eh_edges would create. */
bool
DEBUG_FUNCTION bool
verify_eh_edges (gimple stmt)
{
basic_block bb = gimple_bb (stmt);
@ -3979,7 +3979,7 @@ verify_eh_edges (gimple stmt)
/* Similarly, but handle GIMPLE_EH_DISPATCH specifically. */
bool
DEBUG_FUNCTION bool
verify_eh_dispatch_edge (gimple stmt)
{
eh_region r;

View File

@ -4544,7 +4544,7 @@ debug_find_tree_1 (tree *tp, int *walk_subtrees ATTRIBUTE_UNUSED, void *data)
return NULL;
}
bool
DEBUG_FUNCTION bool
debug_find_tree (tree top, tree search)
{
return walk_tree_without_duplicates (&top, debug_find_tree_1, search) != 0;

View File

@ -1494,7 +1494,7 @@ dump_decl_set (FILE *file, bitmap set)
/* Dump bitmap SET (assumed to contain VAR_DECLs) to FILE. */
void
DEBUG_FUNCTION void
debug_decl_set (bitmap set)
{
dump_decl_set (stderr, set);
@ -1565,7 +1565,7 @@ dump_defs_stack (FILE *file, int n)
dumped. New levels are created when the dominator tree traversal
used for renaming enters a new sub-tree. */
void
DEBUG_FUNCTION void
debug_defs_stack (int n)
{
dump_defs_stack (stderr, n);
@ -1599,7 +1599,7 @@ dump_currdefs (FILE *file)
/* Dump the current reaching definition of every symbol to stderr. */
void
DEBUG_FUNCTION void
debug_currdefs (void)
{
dump_currdefs (stderr);
@ -1625,7 +1625,7 @@ dump_tree_ssa (FILE *file)
/* Dump SSA information to stderr. */
void
DEBUG_FUNCTION void
debug_tree_ssa (void)
{
dump_tree_ssa (stderr);
@ -1671,7 +1671,7 @@ dump_tree_ssa_stats (FILE *file)
/* Dump SSA statistics on stderr. */
void
DEBUG_FUNCTION void
debug_tree_ssa_stats (void)
{
dump_tree_ssa_stats (stderr);
@ -1739,7 +1739,7 @@ dump_def_blocks (FILE *file)
/* Dump the DEF_BLOCKS hash table on stderr. */
void
DEBUG_FUNCTION void
debug_def_blocks (void)
{
dump_def_blocks (stderr);
@ -2692,7 +2692,7 @@ dump_names_replaced_by (FILE *file, tree name)
/* Dump all the names replaced by NAME to stderr. */
void
DEBUG_FUNCTION void
debug_names_replaced_by (tree name)
{
dump_names_replaced_by (stderr, name);
@ -2757,7 +2757,7 @@ dump_update_ssa (FILE *file)
/* Dump SSA update information to stderr. */
void
DEBUG_FUNCTION void
debug_update_ssa (void)
{
dump_update_ssa (stderr);

View File

@ -970,7 +970,7 @@ dump_rdg_partitions (FILE *file, VEC (bitmap, heap) *partitions)
/* Debug PARTITIONS. */
extern void debug_rdg_partitions (VEC (bitmap, heap) *);
void
DEBUG_FUNCTION void
debug_rdg_partitions (VEC (bitmap, heap) *partitions)
{
dump_rdg_partitions (stderr, partitions);

View File

@ -77,7 +77,7 @@ do_niy (pretty_printer *buffer, const_tree node)
/* Debugging function to print out a generic expression. */
void
DEBUG_FUNCTION void
debug_generic_expr (tree t)
{
print_generic_expr (stderr, t, TDF_VOPS|TDF_MEMSYMS);
@ -86,7 +86,7 @@ debug_generic_expr (tree t)
/* Debugging function to print out a generic statement. */
void
DEBUG_FUNCTION void
debug_generic_stmt (tree t)
{
print_generic_stmt (stderr, t, TDF_VOPS|TDF_MEMSYMS);
@ -95,7 +95,7 @@ debug_generic_stmt (tree t)
/* Debugging function to print out a chain of trees . */
void
DEBUG_FUNCTION void
debug_tree_chain (tree t)
{
struct pointer_set_t *seen = pointer_set_create ();

View File

@ -358,7 +358,7 @@ dump_alias_info (FILE *file)
/* Dump alias information on stderr. */
void
DEBUG_FUNCTION void
debug_alias_info (void)
{
dump_alias_info (stderr);
@ -437,7 +437,7 @@ dump_points_to_info_for (FILE *file, tree ptr)
/* Dump points-to information for VAR into stderr. */
void
DEBUG_FUNCTION void
debug_points_to_info_for (tree var)
{
dump_points_to_info_for (stderr, var);

View File

@ -261,7 +261,7 @@ dump_lattice_value (FILE *outf, const char *prefix, prop_value_t val)
void debug_lattice_value (prop_value_t val);
void
DEBUG_FUNCTION void
debug_lattice_value (prop_value_t val)
{
dump_lattice_value (stderr, "", val);

View File

@ -1042,7 +1042,7 @@ dump_dominator_optimization_stats (FILE *file)
/* Dump SSA statistics on stderr. */
void
DEBUG_FUNCTION void
debug_dominator_optimization_stats (void)
{
dump_dominator_optimization_stats (stderr);

View File

@ -632,7 +632,7 @@ dump_scope_block (FILE *file, int indent, tree scope, int flags)
/* Dump the tree of lexical scopes starting at SCOPE to stderr. FLAGS
is as in print_generic_expr. */
void
DEBUG_FUNCTION void
debug_scope_block (tree scope, int flags)
{
dump_scope_block (stderr, 0, scope, flags);
@ -652,7 +652,7 @@ dump_scope_blocks (FILE *file, int flags)
/* Dump the tree of lexical scopes of current_function_decl to stderr.
FLAGS is as in print_generic_expr. */
void
DEBUG_FUNCTION void
debug_scope_blocks (int flags)
{
dump_scope_blocks (stderr, flags);

View File

@ -441,7 +441,7 @@ check_loop_closed_ssa_stmt (basic_block bb, gimple stmt)
/* Checks that invariants of the loop closed ssa form are preserved.
Call verify_ssa when VERIFY_SSA_P is true. */
void
DEBUG_FUNCTION void
verify_loop_closed_ssa (bool verify_ssa_p)
{
basic_block bb;

View File

@ -1180,7 +1180,7 @@ swap_tree_operands (gimple stmt, tree *exp0, tree *exp1)
/* Scan the immediate_use list for VAR making sure its linked properly.
Return TRUE if there is a problem and emit an error message to F. */
bool
DEBUG_FUNCTION bool
verify_imm_links (FILE *f, tree var)
{
use_operand_p ptr, prev, list;
@ -1304,7 +1304,7 @@ dump_immediate_uses (FILE *file)
/* Dump def-use edges on stderr. */
void
DEBUG_FUNCTION void
debug_immediate_uses (void)
{
dump_immediate_uses (stderr);
@ -1313,7 +1313,7 @@ debug_immediate_uses (void)
/* Dump def-use edges on stderr. */
void
DEBUG_FUNCTION void
debug_immediate_uses_for (tree var)
{
dump_immediate_uses_for (stderr, var);

View File

@ -986,7 +986,7 @@ print_pre_expr (FILE *outfile, const pre_expr expr)
void debug_pre_expr (pre_expr);
/* Like print_pre_expr but always prints to stderr. */
void
DEBUG_FUNCTION void
debug_pre_expr (pre_expr e)
{
print_pre_expr (stderr, e);
@ -1023,7 +1023,7 @@ print_bitmap_set (FILE *outfile, bitmap_set_t set,
void debug_bitmap_set (bitmap_set_t);
void
DEBUG_FUNCTION void
debug_bitmap_set (bitmap_set_t set)
{
print_bitmap_set (stderr, set, "debug", 0);
@ -1044,7 +1044,7 @@ print_value_expressions (FILE *outfile, unsigned int val)
}
void
DEBUG_FUNCTION void
debug_value_expressions (unsigned int val)
{
print_value_expressions (stderr, val);

View File

@ -2147,7 +2147,7 @@ dump_ops_vector (FILE *file, VEC (operand_entry_t, heap) *ops)
/* Dump the operand entry vector OPS to STDERR. */
void
DEBUG_FUNCTION void
debug_ops_vector (VEC (operand_entry_t, heap) *ops)
{
dump_ops_vector (stderr, ops);

View File

@ -716,7 +716,7 @@ void debug_sa_points_to_info (void);
/* Print out constraint C to stderr. */
void
DEBUG_FUNCTION void
debug_constraint (constraint_t c)
{
dump_constraint (stderr, c);
@ -735,7 +735,7 @@ dump_constraints (FILE *file, int from)
/* Print out all constraints to stderr. */
void
DEBUG_FUNCTION void
debug_constraints (void)
{
dump_constraints (stderr, 0);
@ -825,7 +825,7 @@ dump_constraint_graph (FILE *file)
/* Print out the constraint graph to stderr. */
void
DEBUG_FUNCTION void
debug_constraint_graph (void)
{
dump_constraint_graph (stderr);
@ -5434,7 +5434,7 @@ dump_solution_for_var (FILE *file, unsigned int var)
/* Print the points-to solution for VAR to stdout. */
void
DEBUG_FUNCTION void
debug_solution_for_var (unsigned int var)
{
dump_solution_for_var (stdout, var);
@ -6035,7 +6035,7 @@ dump_sa_points_to_info (FILE *outfile)
/* Debug points-to information to stderr. */
void
DEBUG_FUNCTION void
debug_sa_points_to_info (void)
{
dump_sa_points_to_info (stderr);

View File

@ -705,7 +705,7 @@ dump_replaceable_exprs (FILE *f, bitmap expr)
exclusively to debug TER. F is the place to send debug info and T is the
table being debugged. */
void
DEBUG_FUNCTION void
debug_ter (FILE *f, temp_expr_table_p t)
{
unsigned x, y;

View File

@ -857,7 +857,7 @@ error:
/* Verify common invariants in the SSA web.
TODO: verify the variable annotations. */
void
DEBUG_FUNCTION void
verify_ssa (bool check_modified_stmt)
{
size_t i;

View File

@ -3747,7 +3747,7 @@ dump_value_range (FILE *file, value_range_t *vr)
/* Dump value range VR to stderr. */
void
DEBUG_FUNCTION void
debug_value_range (value_range_t *vr)
{
dump_value_range (stderr, vr);
@ -3779,7 +3779,7 @@ dump_all_value_ranges (FILE *file)
/* Dump all value ranges to stderr. */
void
DEBUG_FUNCTION void
debug_all_value_ranges (void)
{
dump_all_value_ranges (stderr);
@ -3935,7 +3935,7 @@ dump_asserts_for (FILE *file, tree name)
/* Dump all the registered assertions for NAME to stderr. */
void
DEBUG_FUNCTION void
debug_asserts_for (tree name)
{
dump_asserts_for (stderr, name);
@ -3959,7 +3959,7 @@ dump_all_asserts (FILE *file)
/* Dump all the registered assertions for all the names to stderr. */
void
DEBUG_FUNCTION void
debug_all_asserts (void)
{
dump_all_asserts (stderr);

View File

@ -386,7 +386,7 @@ visit_hist (void **slot, void *data)
/* Verify sanity of the histograms. */
void
DEBUG_FUNCTION void
verify_histograms (void)
{
basic_block bb;

View File

@ -1098,7 +1098,7 @@ dv_from_value (rtx value)
extern void debug_dv (decl_or_value dv);
void
DEBUG_FUNCTION void
debug_dv (decl_or_value dv)
{
if (dv_is_value_p (dv))

View File

@ -263,7 +263,7 @@ dump_varpool (FILE *f)
/* Dump the variable pool to stderr. */
void
DEBUG_FUNCTION void
debug_varpool (void)
{
dump_varpool (stderr);