This is mostly a mechanical change, apart from:
- fix the name of attribute_c_tests to match its filename (attribs.cc)
- fix the name of opt_proposer_c to match its filename (opt-suggestions.cc)
- delete a bogus "modref_c_tests" decl from ipa-modref-tree.h that's been
present since the initial commit of that file
(
d119f34c952f8718fdbabc63e2f369a16e92fa07)
gcc/ChangeLog:
* attribs.cc (attribute_c_tests): Rename to...
(attribs_cc_tests): ...this.
* bitmap.cc (bitmap_c_tests): Rename to...
(bitmap_cc_tests): ...this.
* cgraph.cc (cgraph_c_finalize): Rename to...
(cgraph_cc_finalize): ...this.
(cgraph_c_tests): Rename to...
(cgraph_cc_tests): ...this.
* cgraph.h (cgraph_c_finalize): Rename to...
(cgraph_cc_finalize): ...this.
(cgraphunit_c_finalize): Rename to...
(cgraphunit_cc_finalize): ...this.
* cgraphunit.cc (cgraphunit_c_finalize): Rename to...
(cgraphunit_cc_finalize): ...this.
* convert.cc (convert_c_tests): Rename to...
(convert_cc_tests): ...this.
* dbgcnt.cc (dbgcnt_c_tests): Rename to...
(dbgcnt_cc_tests): ...this.
* diagnostic-show-locus.cc (diagnostic_show_locus_c_tests): Rename to...
(diagnostic_show_locus_cc_tests): ...this.
* diagnostic.cc (diagnostic_c_tests): Rename to...
(diagnostic_cc_tests): ...this.
* dumpfile.cc (dumpfile_c_tests): Rename to...
(dumpfile_cc_tests): ...this.
* dwarf2out.cc (dwarf2out_c_finalize): Rename to...
(dwarf2out_cc_finalize): ...this.
* dwarf2out.h (dwarf2out_c_finalize): Rename to...
(dwarf2out_cc_finalize): ...this.
* edit-context.cc (edit_context_c_tests): Rename to...
(edit_context_cc_tests): ...this.
* et-forest.cc (et_forest_c_tests): Rename to...
(et_forest_cc_tests): ...this.
* fibonacci_heap.cc (fibonacci_heap_c_tests): Rename to...
(fibonacci_heap_cc_tests): ...this.
* fold-const.cc (fold_const_c_tests): Rename to...
(fold_const_cc_tests): ...this.
* function-tests.cc (function_tests_c_tests): Rename to...
(function_tests_cc_tests): ...this.
* gcse.cc (gcse_c_finalize): Rename to...
(gcse_cc_finalize): ...this.
* gcse.h (gcse_c_finalize): Rename to...
(gcse_cc_finalize): ...this.
* ggc-tests.cc (ggc_tests_c_tests): Rename to...
(ggc_tests_cc_tests): ...this.
* gimple-ssa-store-merging.cc (store_merging_c_tests): Rename to...
(store_merging_cc_tests): ...this.
* gimple.cc (gimple_c_tests): Rename to...
(gimple_cc_tests): ...this.
* hash-map-tests.cc (hash_map_tests_c_tests): Rename to...
(hash_map_tests_cc_tests): ...this.
* hash-set-tests.cc (hash_set_tests_c_tests): Rename to...
(hash_set_tests_cc_tests): ...this.
* input.cc (input_c_tests): Rename to...
(input_cc_tests): ...this.
* ipa-cp.cc (ipa_cp_c_finalize): Rename to...
(ipa_cp_cc_finalize): ...this.
* ipa-fnsummary.cc (ipa_fnsummary_c_finalize): Rename to...
(ipa_fnsummary_cc_finalize): ...this.
* ipa-fnsummary.h (ipa_fnsummary_c_finalize): Rename to...
(ipa_fnsummary_cc_finalize): ...this.
* ipa-modref-tree.cc (ipa_modref_tree_c_tests): Rename to...
(ipa_modref_tree_cc_tests): ...this.
* ipa-modref-tree.h (modref_c_tests): Delete bogus decl.
* ipa-modref.cc (ipa_modref_c_finalize): Rename to...
(ipa_modref_cc_finalize): ...this.
* ipa-modref.h (ipa_modref_c_finalize): Rename to...
(ipa_modref_cc_finalize): ...this.
* ipa-prop.h (ipa_cp_c_finalize): Rename to...
(ipa_cp_cc_finalize): ...this.
* ipa-reference.cc (ipa_reference_c_finalize): Rename to...
(ipa_reference_cc_finalize): ...this.
* ipa-reference.h (ipa_reference_c_finalize): Rename to...
(ipa_reference_cc_finalize): ...this.
* ira-costs.cc (ira_costs_c_finalize): Rename to...
(ira_costs_cc_finalize): ...this.
* ira.h (ira_costs_c_finalize): Rename to...
(ira_costs_cc_finalize): ...this.
* opt-suggestions.cc (opt_proposer_c_tests): Rename to...
(opt_suggestions_cc_tests): ...this.
* opts.cc (opts_c_tests): Rename to...
(opts_cc_tests): ...this.
* predict.cc (predict_c_tests): Rename to...
(predict_cc_tests): ...this.
* pretty-print.cc (pretty_print_c_tests): Rename to...
(pretty_print_cc_tests): ...this.
* read-rtl-function.cc (read_rtl_function_c_tests): Rename to...
(read_rtl_function_cc_tests): ...this.
* rtl-tests.cc (rtl_tests_c_tests): Rename to...
(rtl_tests_cc_tests): ...this.
* sbitmap.cc (sbitmap_c_tests): Rename to...
(sbitmap_cc_tests): ...this.
* selftest-run-tests.cc (selftest::run_tests): Update calls for
_c_ to _cc_ function renamings; fix names of attribs and
opt-suggestions tests.
* selftest.cc (selftest_c_tests): Rename to...
(selftest_cc_tests): ...this.
* selftest.h (attribute_c_tests): Rename to...
(attribs_cc_tests): ...this.
(bitmap_c_tests): Rename to...
(bitmap_cc_tests): ...this.
(cgraph_c_tests): Rename to...
(cgraph_cc_tests): ...this.
(convert_c_tests): Rename to...
(convert_cc_tests): ...this.
(diagnostic_c_tests): Rename to...
(diagnostic_cc_tests): ...this.
(diagnostic_show_locus_c_tests): Rename to...
(diagnostic_show_locus_cc_tests): ...this.
(dumpfile_c_tests): Rename to...
(dumpfile_cc_tests): ...this.
(edit_context_c_tests): Rename to...
(edit_context_cc_tests): ...this.
(et_forest_c_tests): Rename to...
(et_forest_cc_tests): ...this.
(fibonacci_heap_c_tests): Rename to...
(fibonacci_heap_cc_tests): ...this.
(fold_const_c_tests): Rename to...
(fold_const_cc_tests): ...this.
(function_tests_c_tests): Rename to...
(function_tests_cc_tests): ...this.
(ggc_tests_c_tests): Rename to...
(ggc_tests_cc_tests): ...this.
(gimple_c_tests): Rename to...
(gimple_cc_tests): ...this.
(hash_map_tests_c_tests): Rename to...
(hash_map_tests_cc_tests): ...this.
(hash_set_tests_c_tests): Rename to...
(hash_set_tests_cc_tests): ...this.
(input_c_tests): Rename to...
(input_cc_tests): ...this.
(opts_c_tests): Rename to...
(opts_cc_tests): ...this.
(predict_c_tests): Rename to...
(predict_cc_tests): ...this.
(pretty_print_c_tests): Rename to...
(pretty_print_cc_tests): ...this.
(read_rtl_function_c_tests): Rename to...
(read_rtl_function_cc_tests): ...this.
(rtl_tests_c_tests): Rename to...
(rtl_tests_cc_tests): ...this.
(sbitmap_c_tests): Rename to...
(sbitmap_cc_tests): ...this.
(selftest_c_tests): Rename to...
(selftest_cc_tests): ...this.
(simplify_rtx_c_tests): Rename to...
(simplify_rtx_cc_tests): ...this.
(spellcheck_c_tests): Rename to...
(spellcheck_cc_tests): ...this.
(spellcheck_tree_c_tests): Rename to...
(spellcheck_tree_cc_tests): ...this.
(sreal_c_tests): Rename to...
(sreal_cc_tests): ...this.
(store_merging_c_tests): Rename to...
(store_merging_cc_tests): ...this.
(tree_c_tests): Rename to...
(tree_cc_tests): ...this.
(tree_cfg_c_tests): Rename to...
(tree_cfg_cc_tests): ...this.
(typed_splay_tree_c_tests): Rename to...
(typed_splay_tree_cc_tests): ...this.
(vec_c_tests): Rename to...
(vec_cc_tests): ...this.
(vec_perm_indices_c_tests): Rename to...
(vec_perm_indices_cc_tests): ..this.
(opt_proposer_c_tests): Rename to...
(opt_suggestions_cc_tests): ...this.
(dbgcnt_c_tests): Rename to...
(dbgcnt_cc_tests): ...this.
(ipa_modref_tree_c_tests): Rename to...
(ipa_modref_tree_cc_tests): ...this.
* simplify-rtx.cc (simplify_rtx_c_tests): Rename to...
(simplify_rtx_cc_tests): ...this.
* spellcheck-tree.cc (spellcheck_tree_c_tests): Rename to...
(spellcheck_tree_cc_tests): ...this.
* spellcheck.cc (spellcheck_c_tests): Rename to...
(spellcheck_cc_tests): ...this.
* sreal.cc (sreal_c_tests): Rename to...
(sreal_cc_tests): ...this.
* toplev.cc (toplev::finalize): Update calls for _c_ to _cc_
function renamings.
* tree-cfg.cc (tree_cfg_c_tests): Rename to...
(tree_cfg_cc_tests): ...this.
* tree.cc (tree_c_tests): Rename to...
(tree_cc_tests): ...this.
* typed-splay-tree.cc (typed_splay_tree_c_tests): Rename to...
(typed_splay_tree_cc_tests): ...this.
* vec-perm-indices.cc (vec_perm_indices_c_tests): Rename to...
(vec_perm_indices_cc_tests): ...this.
* vec.cc (vec_c_tests): Rename to...
(vec_cc_tests): ...this.
gcc/c-family/ChangeLog:
* c-common.cc (c_common_c_tests): Rename to...
(c_common_cc_tests): ...this.
(c_family_tests): Update calls for .c to .cc renaming.
* c-common.h (c_format_c_tests): Rename to...
(c_format_cc_tests): ...this.
(c_indentation_c_tests): Rename to...
(c_indentation_cc_tests): ...this.
(c_pretty_print_c_tests): Rename to...
(c_pretty_print_cc_tests): ...this.
* c-format.cc (c_format_c_tests): Rename to...
(c_format_cc_tests): ...this.
* c-indentation.cc (c_indentation_c_tests): Rename to...
(c_indentation_cc_tests): ...this.
* c-pretty-print.cc (c_pretty_print_c_tests): Rename to...
(c_pretty_print_cc_tests): ...this.
gcc/cp/ChangeLog:
* cp-lang.cc (selftest::run_cp_tests): Update calls for .c to .cc
renaming.
* cp-tree.h (cp_pt_c_tests): Rename to...
(cp_pt_cc_tests): ...this.
(cp_tree_c_tests): Rename to...
(cp_tree_cc_tests): ...this.
* pt.cc (cp_pt_c_tests): Rename to...
(cp_pt_cc_tests): ...this.
* tree.cc (cp_tree_c_tests): Rename to...
(cp_tree_cc_tests): ...this.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
}
void
-attribute_c_tests ()
+attribs_cc_tests ()
{
test_attribute_exclusions ();
}
/* Run all of the selftests within this file. */
void
-bitmap_c_tests ()
+bitmap_cc_tests ()
{
test_gc_alloc ();
test_set_range ();
/* Run all of the selftests within this file. */
static void
-c_common_c_tests ()
+c_common_cc_tests ()
{
test_fold_for_warn ();
}
void
c_family_tests (void)
{
- c_common_c_tests ();
- c_format_c_tests ();
- c_indentation_c_tests ();
- c_pretty_print_c_tests ();
+ c_common_cc_tests ();
+ c_format_cc_tests ();
+ c_indentation_cc_tests ();
+ c_pretty_print_cc_tests ();
c_spellcheck_cc_tests ();
}
namespace selftest {
/* Declarations for specific families of tests within c-family,
by source file, in alphabetical order. */
- extern void c_format_c_tests (void);
- extern void c_indentation_c_tests (void);
- extern void c_pretty_print_c_tests (void);
+ extern void c_format_cc_tests (void);
+ extern void c_indentation_cc_tests (void);
+ extern void c_pretty_print_cc_tests (void);
extern void c_spellcheck_cc_tests (void);
/* The entrypoint for running all of the above tests. */
/* Run all of the selftests within this file. */
void
-c_format_c_tests ()
+c_format_cc_tests ()
{
test_get_modifier_for_format_len ();
test_get_format_for_type_printf ();
/* Run all of the selftests within this file. */
void
-c_indentation_c_tests ()
+c_indentation_cc_tests ()
{
test_next_tab_stop ();
test_get_visual_column ();
/* Run all of the selftests within this file. */
void
-c_pretty_print_c_tests ()
+c_pretty_print_cc_tests ()
{
test_location_wrappers ();
}
within the same process. For use by toplev::finalize. */
void
-cgraph_c_finalize (void)
+cgraph_cc_finalize (void)
{
nested_function_info::release ();
thunk_info::release ();
/* Run all of the selftests within this file. */
void
-cgraph_c_tests ()
+cgraph_cc_tests ()
{
test_symbol_table_test ();
}
}
/* In cgraph.cc */
-void cgraph_c_finalize (void);
+void cgraph_cc_finalize (void);
void release_function_body (tree);
cgraph_indirect_call_info *cgraph_allocate_init_indirect_info (void);
cgraph_inline_failed_type_t cgraph_inline_failed_type (cgraph_inline_failed_t);
/* In cgraphunit.cc */
-void cgraphunit_c_finalize (void);
+void cgraphunit_cc_finalize (void);
int tp_first_run_node_cmp (const void *pa, const void *pb);
/* In symtab-thunks.cc */
within the same process. For use by toplev::finalize. */
void
-cgraphunit_c_finalize (void)
+cgraphunit_cc_finalize (void)
{
gcc_assert (cgraph_new_nodes.length () == 0);
cgraph_new_nodes.truncate (0);
/* Run all of the selftests within this file. */
void
-convert_c_tests ()
+convert_cc_tests ()
{
test_convert_to_integer_maybe_fold ();
}
c_family_tests ();
/* Additional C++-specific tests. */
- cp_pt_c_tests ();
- cp_tree_c_tests ();
+ cp_pt_cc_tests ();
+ cp_tree_cc_tests ();
}
} // namespace selftest
/* Declarations for specific families of tests within cp,
by source file, in alphabetical order. */
- extern void cp_pt_c_tests ();
- extern void cp_tree_c_tests (void);
+ extern void cp_pt_cc_tests ();
+ extern void cp_tree_cc_tests (void);
} // namespace selftest
#endif /* #if CHECKING_P */
/* Run all of the selftests within this file. */
void
-cp_pt_c_tests ()
+cp_pt_cc_tests ()
{
test_build_non_dependent_expr ();
test_type_dependent_expression_p ();
/* Run all of the selftests within this file. */
void
-cp_tree_c_tests ()
+cp_tree_cc_tests ()
{
test_lvalue_kind ();
}
}
void
-dbgcnt_c_tests ()
+dbgcnt_cc_tests ()
{
test_sorted_dbg_counters ();
}
/* Run all of the selftests within this file. */
void
-diagnostic_show_locus_c_tests ()
+diagnostic_show_locus_cc_tests ()
{
test_line_span ();
/* Run all of the selftests within this file. */
void
-diagnostic_c_tests ()
+diagnostic_cc_tests ()
{
test_print_escaped_string ();
test_print_parseable_fixits_none ();
/* Run all of the selftests within this file. */
void
-dumpfile_c_tests ()
+dumpfile_cc_tests ()
{
test_impl_location ();
for_each_line_table_case (test_capture_of_dump_calls);
within the same process. For use by toplev::finalize. */
void
-dwarf2out_c_finalize (void)
+dwarf2out_cc_finalize (void)
{
last_var_location_insn = NULL;
cached_next_real_insn = NULL;
} scale_factor;
};
-void dwarf2out_c_finalize (void);
+void dwarf2out_cc_finalize (void);
/* Some DWARF internals are exposed for the needs of DWARF-based debug
formats. */
/* Run all of the selftests within this file. */
void
-edit_context_c_tests ()
+edit_context_cc_tests ()
{
test_get_content ();
for_each_line_table_case (test_applying_fixits_insert_before);
/* Run all of the selftests within this file. */
void
-et_forest_c_tests ()
+et_forest_cc_tests ()
{
test_single_node ();
test_simple_tree ();
/* Run all of the selftests within this file. */
void
-fibonacci_heap_c_tests ()
+fibonacci_heap_cc_tests ()
{
test_empty_heap ();
test_basic_heap_operations ();
/* Run all of the selftests within this file. */
void
-fold_const_c_tests ()
+fold_const_cc_tests ()
{
test_arithmetic_folding ();
test_vector_folding ();
/* Run all of the selftests within this file. */
void
-function_tests_c_tests ()
+function_tests_cc_tests ()
{
test_fndecl_int_void ();
test_fndecl_float_intchar ();
within the same process. For use by toplev::finalize. */
void
-gcse_c_finalize (void)
+gcse_cc_finalize (void)
{
test_insn = NULL;
}
#define this_target_gcse (&default_target_gcse)
#endif
-void gcse_c_finalize (void);
+void gcse_cc_finalize (void);
extern bool gcse_or_cprop_is_too_expensive (const char *);
#endif
/* Run all of the selftests within this file. */
void
-ggc_tests_c_tests ()
+ggc_tests_cc_tests ()
{
test_basic_struct ();
test_length ();
/* Run all of the selftests within this file. */
void
-store_merging_c_tests (void)
+store_merging_cc_tests (void)
{
verify_shift_bytes_in_array_left ();
verify_shift_bytes_in_array_right ();
/* Run all of the selftests within this file. */
void
-gimple_c_tests ()
+gimple_cc_tests ()
{
test_assign_single ();
test_assign_binop ();
/* Run all of the selftests within this file. */
void
-hash_map_tests_c_tests ()
+hash_map_tests_cc_tests ()
{
test_map_of_strings_to_int ();
test_map_of_int_to_strings ();
/* Run all of the selftests within this file. */
void
-hash_set_tests_c_tests ()
+hash_set_tests_cc_tests ()
{
test_set_of_strings ();
test_set_of_type_with_ctor_and_dtor ();
/* Run all of the selftests within this file. */
void
-input_c_tests ()
+input_cc_tests ()
{
test_linenum_comparisons ();
test_should_have_column_data_p ();
within the same process. For use by toplev::finalize. */
void
-ipa_cp_c_finalize (void)
+ipa_cp_cc_finalize (void)
{
base_count = profile_count::uninitialized ();
overall_size = 0;
within the same process. For use by toplev::finalize. */
void
-ipa_fnsummary_c_finalize (void)
+ipa_fnsummary_cc_finalize (void)
{
ipa_free_fn_summary ();
}
ipa_auto_call_arg_values *avals,
bool compute_contexts);
-void ipa_fnsummary_c_finalize (void);
+void ipa_fnsummary_cc_finalize (void);
HOST_WIDE_INT ipa_get_stack_frame_offset (struct cgraph_node *node);
void ipa_remove_from_growth_caches (struct cgraph_edge *edge);
void
-ipa_modref_tree_c_tests ()
+ipa_modref_tree_cc_tests ()
{
test_insert_search_collapse ();
test_merge ();
}
};
-void modref_c_tests ();
-
void gt_ggc_mx (modref_tree <int>* const&);
void gt_ggc_mx (modref_tree <tree_node*>* const&);
void gt_pch_nx (modref_tree <int>* const&);
/* Summaries must stay alive until end of compilation. */
void
-ipa_modref_c_finalize ()
+ipa_modref_cc_finalize ()
{
if (optimization_summaries)
ggc_delete (optimization_summaries);
modref_summary *get_modref_function_summary (cgraph_node *func);
modref_summary *get_modref_function_summary (gcall *call, bool *interposed);
-void ipa_modref_c_finalize ();
+void ipa_modref_cc_finalize ();
void ipa_merge_modref_summary_after_inlining (cgraph_edge *e);
/* All flags that are implied by the ECF_CONST functions. */
gimple_stmt_iterator *, bool);
/* In ipa-cp.cc */
-void ipa_cp_c_finalize (void);
+void ipa_cp_cc_finalize (void);
#endif /* IPA_PROP_H */
within the same process. For use by toplev::finalize. */
void
-ipa_reference_c_finalize (void)
+ipa_reference_cc_finalize (void)
{
if (ipa_ref_opt_sum_summaries != NULL)
{
/* In ipa-reference.cc */
bitmap ipa_reference_get_read_global (struct cgraph_node *fn);
bitmap ipa_reference_get_written_global (struct cgraph_node *fn);
-void ipa_reference_c_finalize (void);
+void ipa_reference_cc_finalize (void);
int ipa_reference_var_uid (tree t);
#endif /* GCC_IPA_REFERENCE_H */
}
void
-ira_costs_c_finalize (void)
+ira_costs_cc_finalize (void)
{
this_target_ira_int->free_ira_costs ();
}
extern void ira_nullify_asm_goto (rtx_insn *insn);
/* ira-costs.cc */
-extern void ira_costs_c_finalize (void);
+extern void ira_costs_cc_finalize (void);
/* ira-lives.cc */
extern rtx non_conflicting_reg_copy_p (rtx_insn *);
/* Run all of the selftests within this file. */
void
-opt_proposer_c_tests ()
+opt_suggestions_cc_tests ()
{
option_proposer proposer;
/* Run all of the selftests within this file. */
void
-opts_c_tests ()
+opts_cc_tests ()
{
test_get_option_html_page ();
}
/* Run all of the selfests within this file. */
void
-predict_c_tests ()
+predict_cc_tests ()
{
test_prediction_value_range ();
}
/* Run all of the selftests within this file. */
void
-pretty_print_c_tests ()
+pretty_print_cc_tests ()
{
test_basic_printing ();
test_pp_format ();
/* Run all of the selftests within this file. */
void
-read_rtl_function_c_tests ()
+read_rtl_function_cc_tests ()
{
test_edge_flags ();
test_parsing_regnos ();
/* Run all of the selftests within this file. */
void
-rtl_tests_c_tests ()
+rtl_tests_cc_tests ()
{
test_dumping_regs ();
test_dumping_insns ();
/* Run all of the selftests within this file. */
void
-sbitmap_c_tests ()
+sbitmap_cc_tests ()
{
test_set_range ();
test_bit_in_range ();
run the tests for lowest-level code first. */
/* Sanity-check for selftests themselves. */
- selftest_c_tests ();
+ selftest_cc_tests ();
/* Low-level data structures. */
- bitmap_c_tests ();
- sbitmap_c_tests ();
- dumpfile_c_tests ();
- et_forest_c_tests ();
- hash_map_tests_c_tests ();
- hash_set_tests_c_tests ();
- vec_c_tests ();
- pretty_print_c_tests ();
+ bitmap_cc_tests ();
+ sbitmap_cc_tests ();
+ dumpfile_cc_tests ();
+ et_forest_cc_tests ();
+ hash_map_tests_cc_tests ();
+ hash_set_tests_cc_tests ();
+ vec_cc_tests ();
+ pretty_print_cc_tests ();
wide_int_cc_tests ();
- ggc_tests_c_tests ();
- sreal_c_tests ();
- fibonacci_heap_c_tests ();
- typed_splay_tree_c_tests ();
- opt_proposer_c_tests ();
- opts_c_tests ();
+ ggc_tests_cc_tests ();
+ sreal_cc_tests ();
+ fibonacci_heap_cc_tests ();
+ typed_splay_tree_cc_tests ();
+ opt_suggestions_cc_tests ();
+ opts_cc_tests ();
json_cc_tests ();
- cgraph_c_tests ();
+ cgraph_cc_tests ();
optinfo_emit_json_cc_tests ();
opt_problem_cc_tests ();
ordered_hash_map_tests_cc_tests ();
splay_tree_cc_tests ();
/* Mid-level data structures. */
- input_c_tests ();
- vec_perm_indices_c_tests ();
- tree_c_tests ();
- convert_c_tests ();
- gimple_c_tests ();
- rtl_tests_c_tests ();
- read_rtl_function_c_tests ();
+ input_cc_tests ();
+ vec_perm_indices_cc_tests ();
+ tree_cc_tests ();
+ convert_cc_tests ();
+ gimple_cc_tests ();
+ rtl_tests_cc_tests ();
+ read_rtl_function_cc_tests ();
digraph_cc_tests ();
tristate_cc_tests ();
- ipa_modref_tree_c_tests ();
+ ipa_modref_tree_cc_tests ();
/* Higher-level tests, or for components that other selftests don't
rely on. */
- diagnostic_show_locus_c_tests ();
- diagnostic_c_tests ();
+ diagnostic_show_locus_cc_tests ();
+ diagnostic_cc_tests ();
diagnostic_format_json_cc_tests ();
- edit_context_c_tests ();
- fold_const_c_tests ();
- spellcheck_c_tests ();
- spellcheck_tree_c_tests ();
- tree_cfg_c_tests ();
+ edit_context_cc_tests ();
+ fold_const_cc_tests ();
+ spellcheck_cc_tests ();
+ spellcheck_tree_cc_tests ();
+ tree_cfg_cc_tests ();
tree_diagnostic_path_cc_tests ();
- attribute_c_tests ();
+ attribs_cc_tests ();
/* This one relies on most of the above. */
- function_tests_c_tests ();
+ function_tests_cc_tests ();
/* Run any target-specific selftests. */
if (targetm.run_target_selftests)
targetm.run_target_selftests ();
- store_merging_c_tests ();
- predict_c_tests ();
- simplify_rtx_c_tests ();
- dbgcnt_c_tests ();
+ store_merging_cc_tests ();
+ predict_cc_tests ();
+ simplify_rtx_cc_tests ();
+ dbgcnt_cc_tests ();
/* Run any lang-specific selftests. */
lang_hooks.run_lang_selftests ();
/* Run all of the selftests within this file. */
void
-selftest_c_tests ()
+selftest_cc_tests ()
{
test_libiberty ();
test_assertions ();
/* Declarations for specific families of tests (by source file), in
alphabetical order. */
-extern void attribute_c_tests ();
-extern void bitmap_c_tests ();
-extern void cgraph_c_tests ();
-extern void convert_c_tests ();
-extern void diagnostic_c_tests ();
+extern void attribs_cc_tests ();
+extern void bitmap_cc_tests ();
+extern void cgraph_cc_tests ();
+extern void convert_cc_tests ();
+extern void diagnostic_cc_tests ();
extern void diagnostic_format_json_cc_tests ();
-extern void diagnostic_show_locus_c_tests ();
+extern void diagnostic_show_locus_cc_tests ();
extern void digraph_cc_tests ();
-extern void dumpfile_c_tests ();
-extern void edit_context_c_tests ();
-extern void et_forest_c_tests ();
-extern void fibonacci_heap_c_tests ();
-extern void fold_const_c_tests ();
-extern void function_tests_c_tests ();
-extern void ggc_tests_c_tests ();
-extern void gimple_c_tests ();
-extern void hash_map_tests_c_tests ();
-extern void hash_set_tests_c_tests ();
-extern void input_c_tests ();
+extern void dumpfile_cc_tests ();
+extern void edit_context_cc_tests ();
+extern void et_forest_cc_tests ();
+extern void fibonacci_heap_cc_tests ();
+extern void fold_const_cc_tests ();
+extern void function_tests_cc_tests ();
+extern void ggc_tests_cc_tests ();
+extern void gimple_cc_tests ();
+extern void hash_map_tests_cc_tests ();
+extern void hash_set_tests_cc_tests ();
+extern void input_cc_tests ();
extern void json_cc_tests ();
extern void opt_problem_cc_tests ();
extern void optinfo_emit_json_cc_tests ();
-extern void opts_c_tests ();
+extern void opts_cc_tests ();
extern void ordered_hash_map_tests_cc_tests ();
-extern void predict_c_tests ();
-extern void pretty_print_c_tests ();
+extern void predict_cc_tests ();
+extern void pretty_print_cc_tests ();
extern void range_tests ();
extern void range_op_tests ();
extern void gimple_range_tests ();
-extern void read_rtl_function_c_tests ();
-extern void rtl_tests_c_tests ();
-extern void sbitmap_c_tests ();
-extern void selftest_c_tests ();
-extern void simplify_rtx_c_tests ();
-extern void spellcheck_c_tests ();
-extern void spellcheck_tree_c_tests ();
+extern void read_rtl_function_cc_tests ();
+extern void rtl_tests_cc_tests ();
+extern void sbitmap_cc_tests ();
+extern void selftest_cc_tests ();
+extern void simplify_rtx_cc_tests ();
+extern void spellcheck_cc_tests ();
+extern void spellcheck_tree_cc_tests ();
extern void splay_tree_cc_tests ();
-extern void sreal_c_tests ();
-extern void store_merging_c_tests ();
-extern void tree_c_tests ();
-extern void tree_cfg_c_tests ();
+extern void sreal_cc_tests ();
+extern void store_merging_cc_tests ();
+extern void tree_cc_tests ();
+extern void tree_cfg_cc_tests ();
extern void tree_diagnostic_path_cc_tests ();
extern void tristate_cc_tests ();
-extern void typed_splay_tree_c_tests ();
-extern void vec_c_tests ();
-extern void vec_perm_indices_c_tests ();
+extern void typed_splay_tree_cc_tests ();
+extern void vec_cc_tests ();
+extern void vec_perm_indices_cc_tests ();
extern void wide_int_cc_tests ();
-extern void opt_proposer_c_tests ();
-extern void dbgcnt_c_tests ();
-extern void ipa_modref_tree_c_tests ();
+extern void opt_suggestions_cc_tests ();
+extern void dbgcnt_cc_tests ();
+extern void ipa_modref_tree_cc_tests ();
extern int num_passes;
/* Run all of the selftests within this file. */
void
-simplify_rtx_c_tests ()
+simplify_rtx_cc_tests ()
{
test_scalar_ops ();
test_vector_ops ();
/* Run all of the selftests within this file. */
void
-spellcheck_tree_c_tests ()
+spellcheck_tree_cc_tests ()
{
test_find_closest_identifier ();
}
/* Run all of the selftests within this file. */
void
-spellcheck_c_tests ()
+spellcheck_cc_tests ()
{
test_edit_distances ();
test_get_edit_distance_cutoff ();
/* Run all of the selftests within this file. */
-void sreal_c_tests ()
+void sreal_cc_tests ()
{
sreal_verify_basics ();
sreal_verify_arithmetics ();
rtl_initialized = false;
this_target_rtl->target_specific_initialized = false;
- /* Needs to be called before cgraph_c_finalize since it uses symtab. */
- ipa_reference_c_finalize ();
- ipa_fnsummary_c_finalize ();
- ipa_modref_c_finalize ();
+ /* Needs to be called before cgraph_cc_finalize since it uses symtab. */
+ ipa_reference_cc_finalize ();
+ ipa_fnsummary_cc_finalize ();
+ ipa_modref_cc_finalize ();
ipa_edge_modifications_finalize ();
- cgraph_c_finalize ();
- cgraphunit_c_finalize ();
+ cgraph_cc_finalize ();
+ cgraphunit_cc_finalize ();
symtab_thunks_cc_finalize ();
- dwarf2out_c_finalize ();
- gcse_c_finalize ();
- ipa_cp_c_finalize ();
- ira_costs_c_finalize ();
+ dwarf2out_cc_finalize ();
+ gcse_cc_finalize ();
+ ipa_cp_cc_finalize ();
+ ira_costs_cc_finalize ();
/* save_decoded_options uses opts_obstack, so these must
be cleaned up together. */
/* Run all of the selftests within this file. */
void
-tree_cfg_c_tests ()
+tree_cfg_cc_tests ()
{
test_linear_chain ();
test_diamond ();
/* Run all of the selftests within this file. */
void
-tree_c_tests ()
+tree_cc_tests ()
{
test_integer_constants ();
test_identifiers ();
/* Run all of the selftests within this file. */
void
-typed_splay_tree_c_tests ()
+typed_splay_tree_cc_tests ()
{
test_str_to_int ();
}
/* Run selftests for this file. */
void
-vec_perm_indices_c_tests ()
+vec_perm_indices_cc_tests ()
{
test_vec_perm_12 ();
}
/* Run all of the selftests within this file. */
void
-vec_c_tests ()
+vec_cc_tests ()
{
test_init ();
test_quick_push ();