1 // dummies for function used in cc1
3 #define SDCPP_DUMMY_FCT() fprintf(stderr, "unreachable dummy in cc1%s\n", __func__); gcc_assert(false)
4 #define untested() fprintf(stderr, "untested in cc1: %s\n", __func__)
12 #include "tree-core.h"
13 #include "langhooks.h"
14 #include "langhooks-def.h"
17 #include "c/c-parser.h"
18 #include "substring-locations.h"
19 #include "pass_manager.h"
21 void bitmap_obstack_initialize(bitmap_obstack
*)
24 void bitmap_obstack_free(bitmap_head
*)
27 void bitmap_obstack_release(bitmap_obstack
*)
30 bitmap
bitmap_alloc(bitmap_obstack
*)
32 static bitmap bogus_bitmap
;
38 tree
build_tree_list(tree_node
*, tree_node
*)
42 bool c_block_may_fallthru(tree_node
const*)
46 void c_common_read_pch(cpp_reader
*, char const*, int, char const*)
49 int c_common_valid_pch(cpp_reader
*, char const*, int)
53 bool c_dump_tree(void*, tree_node
*)
57 int c_get_alias_set(tree_node
*)
61 void c_initialize_diagnostics(diagnostic_context
*)
64 int c_gimplify_expr(tree_node
**, gimple
**, gimple
**)
68 bool c_missing_noreturn_ok_p(tree_node
*)
75 void c_parse_final_cleanups()
78 void c_print_identifier(FILE*, tree_node
*, int)
81 void c_stddef_cpp_builtins()
84 int c_types_compatible_p(tree_node
*, tree_node
*)
88 void default_options_optimization(gcc_options
*, gcc_options
*, cl_decoded_option
*, unsigned int, unsigned int, unsigned int, cl_option_handlers
const*, diagnostic_context
*)
91 void define_language_independent_builtin_macros(cpp_reader
*)
94 void dump_end(int, FILE*)
97 void dbg_cnt_list_all_counters()
100 FILE* dump_begin(int, dump_flag
*, int)
104 void dump_profile_report()
107 const struct gcc_debug_hooks
*
108 dump_go_spec_init(char const*, const struct gcc_debug_hooks
*)
111 bool dwarf2out_default_as_loc_support()
115 bool dwarf2out_default_as_locview_support()
119 void dwarf2out_do_cfi_asm()
122 void emergency_dump_function()
125 void finalize_plugins()
128 void gcc::dump_manager::register_dumps()
131 tree
get_identifier(char const*)
135 int ggc_mark_stringpool()
139 int ggc_purge_stringpool()
143 void gt_clear_caches()
146 void gt_ggc_m_S(void const*)
149 void gt_pch_note_reorder (void*, void*, gt_handle_reorder
)
152 void gt_pch_p_S(void*, void*, void (*)(void*, void*, void*), void*)
155 int gt_pch_restore_stringpool()
159 int gt_pch_save_stringpool()
163 int hook_int_const_tree_int(tree_node
const*, int)
167 void init_stringpool()
170 void initialize_plugins()
177 void lhd_append_data(void const*, size_t, void*)
180 void lhd_begin_section(char const*)
183 bool lhd_decl_ok_for_sibcall(tree_node
const*)
187 const char* lhd_decl_printable_name(tree_node
*, int)
191 void lhd_do_nothing()
194 void lhd_do_nothing_t(tree_node
*)
197 const char* lhd_dwarf_name(tree_node
*, int)
201 void lhd_end_section()
204 const char* lhd_get_substring_location(substring_loc
const&, unsigned int*)
208 void lhd_overwrite_decl_assembler_name(tree_node
*, tree_node
*)
211 void lhd_print_error_function(diagnostic_context
*, char const*, diagnostic_info
*)
214 void lhd_print_tree_nothing(FILE*, tree_node
*, int)
217 void lhd_set_decl_assembler_name(tree_node
*)
220 int lhd_tree_dump_type_quals(tree_node
const*)
224 size_t lhd_tree_size(tree_code
)
228 int lhd_type_dwarf_attribute(tree_node
const*, int)
232 bool names_builtin_p(char const*)
236 void output_operand_lossage (const char *, ...)
239 void parse_basever(int*, int*, int*)
242 void pch_cpp_save_state()
248 void pop_file_scope()
251 void print_plugins_help(FILE*, char const*)
255 void push_file_scope()
258 tree
pushdecl(tree_node
*)
262 void tree_diagnostics_defaults(diagnostic_context
*)
265 tree
lhd_enum_underlying_base_type(tree_node
const*)
269 tree
lhd_make_node(tree_code
)
273 tree
* lhd_omp_get_decl_init(tree_node
*)
277 tree
lhd_pass_through_t(tree_node
*)
281 void lhd_register_dumps(gcc::dump_manager
*)
284 tree
lhd_return_null_const_tree(tree_node
const*)
288 tree
lhd_unit_size_without_reusable_padding(tree_node
*)
292 void statistics_early_init()
295 void virt_loc_aware_diagnostic_finalizer(diagnostic_context
*, diagnostic_info
*)
298 void warn_if_plugins()
301 /*----------------------------------------------------------------------*/
303 pass_manager::~pass_manager ()
306 pass_manager::pass_manager (context
*)
309 dump_manager::~dump_manager()
312 dump_manager::dump_manager()
316 /*----------------------------------------------------------------------*/
317 bool after_memory_report
;
318 FILE *dump_file
= NULL
;
319 extern const struct attribute_spec c_common_format_attribute_table
[] =
321 { "dummy", 3, 3, false, true, true, false,
323 extern const struct attribute_spec c_common_attribute_table
[] = {
324 { "dummy", 1, 1, false, true, false, true,
326 struct ht
*ident_hash
;
327 /*----------------------------------------------------------------------*/
328 ggc_root_tab my_ggc_root_tab
;
329 const struct ggc_root_tab
* const gt_ggc_deletable_rtab
[] = { &my_ggc_root_tab
};
330 const struct ggc_root_tab
* const gt_ggc_rtab
[] = { &my_ggc_root_tab
};
331 const struct ggc_root_tab
* const gt_pch_scalar_rtab
[] = { &my_ggc_root_tab
};
332 /*----------------------------------------------------------------------*/
333 bool this_is_asm_operands
= 0;
334 /*----------------------------------------------------------------------*/