]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* tree-vrp.c (debug_value_range, debug_all_value_ranges,
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 May 2010 20:31:45 +0000 (20:31 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 May 2010 20:31:45 +0000 (20:31 +0000)
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160036 138bc75d-0d04-0410-961f-82ee72b054a4

68 files changed:
gcc/ChangeLog
gcc/bitmap.c
gcc/c-common.c
gcc/c-pretty-print.c
gcc/cfg.c
gcc/cfganal.c
gcc/cfghooks.c
gcc/cfglayout.c
gcc/cfgloop.c
gcc/cgraph.c
gcc/cgraphunit.c
gcc/df-core.c
gcc/dominance.c
gcc/dwarf2out.c
gcc/ebitmap.c
gcc/emit-rtl.c
gcc/except.c
gcc/fold-const.c
gcc/function.c
gcc/genrecog.c
gcc/ggc-page.c
gcc/gimple-pretty-print.c
gcc/graphite-clast-to-gimple.c
gcc/graphite-dependences.c
gcc/graphite-poly.c
gcc/graphite-ppl.c
gcc/ipa.c
gcc/omega.c
gcc/omp-low.c
gcc/optabs.c
gcc/passes.c
gcc/plugin.c
gcc/print-rtl.c
gcc/print-tree.c
gcc/regcprop.c
gcc/reload.c
gcc/sbitmap.c
gcc/sched-deps.c
gcc/sched-rgn.c
gcc/sched-vis.c
gcc/sel-sched-dump.c
gcc/sese.c
gcc/stor-layout.c
gcc/system.h
gcc/tree-affine.c
gcc/tree-cfg.c
gcc/tree-data-ref.c
gcc/tree-dfa.c
gcc/tree-eh.c
gcc/tree-inline.c
gcc/tree-into-ssa.c
gcc/tree-loop-distribution.c
gcc/tree-pretty-print.c
gcc/tree-ssa-alias.c
gcc/tree-ssa-ccp.c
gcc/tree-ssa-dom.c
gcc/tree-ssa-live.c
gcc/tree-ssa-loop-manip.c
gcc/tree-ssa-operands.c
gcc/tree-ssa-pre.c
gcc/tree-ssa-reassoc.c
gcc/tree-ssa-structalias.c
gcc/tree-ssa-ter.c
gcc/tree-ssa.c
gcc/tree-vrp.c
gcc/value-prof.c
gcc/var-tracking.c
gcc/varpool.c

index 3cb2351f47356a4cffc5ff52d9e94839d1478726..6e4e63efc795879dff9a2dd90b1298ef958ab555 100644 (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
index 93c13866b2820335986405e6e2cb1aba9b1a7cd7..f7309a02c577464ccecdf6bb063fc836f9673f4b 100644 (file)
@@ -2023,7 +2023,7 @@ bitmap_ior_and_into (bitmap a, const_bitmap b, const_bitmap c)
 \f
 /* 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 = "";
index b20c4d2183f5a1700bac9d9da0a49cc6db51979d..115e30288ed991a080804e4a3a0376f6a99361d2 100644 (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;
index ff9f67657fdc05439b265aa9099e89029681e1f6..ca0608c79e22435b50882d351a56ef468d1bb3dd 100644 (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);
index 07aee614b80be5dafe5ed34c8679ab8f7ed8ee69..ee6af69746855c3ca68ce3bcb2db68f271d7abc7 100644 (file)
--- a/gcc/cfg.c
+++ b/gcc/cfg.c
@@ -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);
index e0c6443dcdd53bc887814bf1174df9a6ccb8343f..5bb23b77adb0a7e9df05c94a0e903fb083479921 100644 (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;
index ad5fb6b6c4cb2f37744c91b73a6a28f2e1b4d797..c3d51fd9e36d03cdc7ec7c288f9e2dbf73ed6b86 100644 (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;
index 5e120570b9a030fcd073e74582df4ed6a8b04256..62ca643348d795763953e17fcd4c15621022dce8 100644 (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;
index 0365f568b301f98d1e2512eecd5cff62e34118f6..858e75b3f52c38426db82ae95067f71faeb71768 100644 (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;
index 04ff9c98f20e8fe10ea489cdbc3be608f607fcf7..229f8a30e99e62777696a76787f284929040834e 100644 (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);
index 39711a3b1a7e4428984228e985034e4968ad15ae..b9c8e79ac6191bbe91497ac1f9d48a5500813979 100644 (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;
index 758e40e8eb74bc43578f0f587d37c90973e12645..0930a02ce29fbf17ac56e362d00edd11b105d6ef 100644 (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)
 \f
 /* 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);
index f7db0f10d6be2ac4bf90d1bd53def0a3f0ae759d..9c2dcf03707b8b691a1128adb0fb5bb1d46b753a 100644 (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);
index b4c626ba0c051a8a0893cb0a7704a5f44bd550a0..eec92d342e6e32ab8957eb9258e2f941ff66c8c8 100644 (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;
index 64c563487cf35188cae34b7dd7665e6df022b3a7..cb52468fed67aa01aa708f44368e9c3cff43e2ac 100644 (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);
index 204f9df5c54da6f6c4d1c613d3490ed63347305b..c1d2468e14e17c8eebf40f3357fa2e491b49e145 100644 (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;
index 393a8011e0d67cb2bd4ce5b8d7eb17492d3b5e08..d166a9a1527da56f864ccabc778c67fadc058007 100644 (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;
index 17672ad6c439374c55fcfb4a0d6bdee199c5e56c..b6e8ed6878330863a6025cd862b23881b76550ec 100644 (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;
index a39ee7c184809713610cac674bb3eaa14da0389a..771552913f117f3bb7ec6c4a0887b5d2b3b6c1fa 100644 (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;
index 16a7b56c6e9210397eb2f0e6c6b1f1bf4c8e24ae..b299b7c55fcafff4aab8b7f7cdacfeed4d546ae2 100644 (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)
index 807bded61fcf0d97f1686dc4992b849075ea35ff..67483f1934933b4991c4b6d79582d854924542da 100644 (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;
index 0480f9d43967fd0bff0c9ae74b5ca4046b9e4f5d..bf3bb723943ae420a763b174229d6699a354fa16 100644 (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);
index 340c8fc4ecb8136be240b94af50612fa7e805858..b0e1a94bc25d22b90563894e5b34f6d2d7480493 100644 (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);
index 8140812d5e7344c6074997e08dbc5bfcd5f28ee5..f060ea008d92ba852d65fd3bdde4d80f107faa7a 100644 (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);
index 64222809ca2095efeb95e3ba2eb3fb694884b6e1..7eb45ca011008b986071bef2ba40b5352b24ddf5 100644 (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);
index 5186d47d9ddce5445796df71152ddf39133d4950..bbe202472a8422c93e8c9402c82091b268a86dc8 100644 (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);
index 319a3f1b8bb9a921b822c2e63c69146211aebacf..ebfc1a20ecd21691cace1650b87e7d6410947faa 100644 (file)
--- a/gcc/ipa.c
+++ b/gcc/ipa.c
@@ -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);
index e1c1adfbc48e090ce90911e762e1178491655b93..d218c0e39b6c87810d63e3bfb639804e1e81ff95 100644 (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);
index 12bd4c6560876101adac9506c107763608da51d2..3a93cdeb7984ee1684eaf10125d05bdbb92823e5 100644 (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);
index a81d2e660ddd2299488b25f2a31b9e2b68cbc688..f753def97ba0b30f51a9144f37a9d9f50d42a650 100644 (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;
index 7ae4787d21183da8d4eca4a52f1f8042bbd6c7a2..ebbfd97cece25bba89d72da9eb2bfdae03e3e9af 100644 (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);
index 1c737a5cd254b13e18d0cd3641820f5a69cc6398..6de4a8b073952de50b0ca2c1b2d9b94f8b95bff6 100644 (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);
index d8c76443d00171151fbf29a761af465fb61bc608..5cf0f9b6185757a00dc266ba79bb8f957f846296 100644 (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)
index 0c2318851be0e9fdf03f06782c0b460d02d84292..10ac8f32062cda6190710352f9c886fa086039ca 100644 (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);
index 2666f78538949883ef7010bbd27a247b7f9b1bf2..039c8b0769b5837a8864b0901235d1aa6aef612b 100644 (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;
index af520ef1515eaa23a03570f9cb3e101535de00b1..d4b7982bc0a12789dba84f7873d9e943e0de7abe 100644 (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);
index 8ffc6f334b729f3fe2257e94c00422557b95e6b1..4796c37df824e4a7c8939b50d5781655aef59e6c 100644 (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);
index 9abb92de4d98caf19778b18a090279312cbfd865..556c38a4fb0faa42bd97dda4b033b4a621418b07 100644 (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);
index 11dc83cd805f3a7cc8a5f527ca64bf2443ace67d..89743c31b74c56fcebe47516b4415416ef7335a8 100644 (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;
index 24c9c2dff26e3f30f1f8b19ba5f6fd464c4d14e4..98d1d1c615f6fd60374e19873f61d1656a604c65 100644 (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);
index 13542f94ffa2a8f4929c750ac2ca95e847c9432d..1042a6e8e4985b21deba34b1e816d590ecd0e8d8 100644 (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)
 }
 \f
 /* 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;
index 7f71f056ad23d1d8a685baa49009920f22273702..7e9bd91f2d793c80e68597248744f64952bf6014 100644 (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);
index 57287a4d81cbdd00219e2642cac412aa0dbe94f6..3780a7f94dbb704d08b2408379b09fc3a32e95aa 100644 (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);
index b87cf0db0d9572d142be892f23ee50832a1485db..a6bc93085c4a3a54a145750c4ed5b71d460b481f 100644 (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 */
index c6c28bd970e74e4a86d2dc348402afe929f55a24..898e5c125522f9c51c4cfb225683521092ed20ba 100644 (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);
index 43c30e008c1af9cf70a6cee6d349a9d2a1dda2e9..fc6ee350ae3020b99ae7ebb7743042abf604cb19 100644 (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);
index 40f7a4407c7a74d100778fbdef9815eb84888789..41dae8deb1ec8f0619ac23f580082cddafefb028 100644 (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);
index ed70d745e01add0dd6f757746f03baaafd8fec31..66b9090ed6af94c372e0b0b055d7a7cb55b51e07 100644 (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);
index 77c8cac7b5cd50313e6b7855467b4df1b9c4b9b8..a7dd72b3da16dbdfdda004907b6c42d66e969b5c 100644 (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;
index a70c09fb3f57a36db72a7943f3f036bca1b37e9c..e42e81c60a17de0d9983a47da6ebfeb6a7dd41d8 100644 (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;
index ddb3c24b7da669d0fab3e1a0d7ffad504797e334..5885addde261a193c77f25e0c7a95ea50deac163 100644 (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);
index 746e4421a967c456ef85c5924428618bf871d9a5..51c66778773d6ee6c4a3e88ebebd5503061d4ecd 100644 (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);
index 8852c05cb851e7b8184e3d1b8508dbc502533088..ec10c144a5fa69ab5183065f9b01c1a5adbbae95 100644 (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 ();
index 10292f27a964f8262953adcfc908ea4ac3d5f76b..e510358a49bda0c0e5814d4750e35372bfa9ed03 100644 (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);
index d4a7a31c1017623f85d7f3173f189954f4a0276b..3a2b51c72c599b167cde671b707e55c30de4ea0b 100644 (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);
index b84532569889dd6b92b1f248f23888e1ee727fee..761593b4271ab24dbceff846b8d29fddccd758d9 100644 (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);
index c3e00713b3aeb0d662afad3e5ab2c877200c35e2..a3112959217cae94cb6fe592f44c2608e6156484 100644 (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);
index 3d4fe1a59ebd5c06962775d1387a61a8abf1e5c4..060ee26160181ccfb4df295c62add6989d8c062a 100644 (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;
index aa37b972628c34c28e93060b9e16a1bc1641f09e..f8224968fe4c3cdbbc06c23d871dcd0a6ce01cbd 100644 (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);
index 18c75d242d8800a80d84eb2f0ed2cb1778eb6b83..ea4be543c45d8c3bdebf551c8ff5f121ca929c88 100644 (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);
index 40152d93e649d4d8fc53394f73a132f62c9ce844..add41f882a2060038b28a398b2c93686dd2ecc11 100644 (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);
index 23e52d65950cf309e44834f3cae4267dba9cf95e..a851ef2e2e9a5bca2dc3318015076042060590f1 100644 (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);
index d9d552c4cd09d66eb461485d53ae1e4ef33b971f..a998db85c5f69fe65b7ad9302c560d410acae9dd 100644 (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;
index dfea0258ea19f623b7eeb69a1a4bb1f4cd6b73e7..d07c61d04680f60e6d2482bd4b5ccef92ff0331c 100644 (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;
index 8ffde5bf05098d2554af809e242befe9286daf7a..2bb90b2717196218c5faaf1133ae74d335066bdd 100644 (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);
index b819cdcc06f448025fa24e3f74758ee65e846406..7b1e70a2de070ad9476a331281cc5acbbae25946 100644 (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;
index 7548d6b70f3e505d80ea38ddf3b79c8223c22d78..967661274cec8d05185161394fbe972417170a48 100644 (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))
index 2e8e945396ab5e7076c237c9d43a5492a22ae430..a3be2629ce12587eb574aa82775bd95dfa5ddc1a 100644 (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);