Go to the source code of this file.
| #define skip_leading_substring | ( | whole, | |||
| part | ) | (strncmp (whole, part, strlen (part)) ? NULL : whole + strlen (part)) |
Definition at line 110 of file rtl-error.c.
References _, debug_rtx(), error(), errorcount, and fancy_abort().
Definition at line 1063 of file diagnostic.c.
References diagnostic_context::buffer, DECL_NAME, diagnostic_set_last_function, fflush(), fprintf(), global_dc, IDENTIFIER_POINTER, output_needs_newline, pp_needs_newline, diagnostic_context::printer, quiet_flag, rtl_dump_and_exit, and verbatim().
Referenced by cgraph_expand_function(), genrtl_start_function(), output_func_start_profiler(), start_function(), start_java_method(), and start_preparsed_function().
Definition at line 860 of file toplev.c.
References assemble_external(), DECL_ARTIFICIAL, DECL_ASSEMBLER_NAME, DECL_EXTERNAL, DECL_IN_SYSTEM_HEADER, DECL_INITIAL, DECL_NAME, DECL_REGISTER, NULL, pedwarn(), TREE_CODE, TREE_NO_WARNING, TREE_PUBLIC, TREE_READONLY, TREE_SYMBOL_REFERENCED, TREE_THIS_VOLATILE, TREE_USED, warn_unused_function, warn_unused_variable, and warning.
Referenced by c_write_global_declarations_1(), and check_global_declarations().
Definition at line 2144 of file toplev.c.
References assemble_external(), check_global_declaration_1(), DECL_ARTIFICIAL, DECL_ASSEMBLER_NAME, DECL_EXTERNAL, DECL_IN_SYSTEM_HEADER, DECL_INITIAL, DECL_NAME, DECL_REGISTER, errorcount, gcc_debug_hooks::global_decl, i, NULL_RTX, SET_DECL_RTL, sorrycount, timevar_pop, timevar_push, TREE_ASM_WRITTEN, TREE_CODE, TREE_PUBLIC, TREE_READONLY, TREE_STATIC, TREE_SYMBOL_REFERENCED, and TREE_USED.
Referenced by cp_finish_file(), finish_file(), wrapup_globals_for_namespace(), and write_global_declarations().
| void decode_d_option | ( | const char * | ) |
Definition at line 1181 of file toplev.c.
References c, enable_rtl_dump_file(), setup_core_dumping(), vcg, and warning.
Definition at line 1504 of file toplev.c.
References ARRAY_SIZE, gcc_target::check_pch_target_flags, cl_options_count, cl_option_state::data, flag_pic, flag_pie, i, memcpy, option_affects_pch_p(), r, result, cl_option_state::size, str, strlen(), targetm, xmalloc(), and XNEWVEC.
Definition at line 1547 of file toplev.c.
References _, ARRAY_SIZE, asprintf(), gcc_target::check_pch_target_flags, cl_options, cl_options_count, cl_option_state::data, flag_pic, flag_pie, gcc_unreachable, i, memcmp, memcpy, NULL, option_affects_pch_p(), pch_option_mismatch(), r, cl_option_state::size, str, strlen(), target_switches, targetm, and tf.
Definition at line 920 of file toplev.c.
References errorcount, gcc_debug_hooks::global_decl, i, sorrycount, timevar_pop, and timevar_push.
Referenced by cp_finish_file(), wrapup_globals_for_namespace(), and write_global_declarations().
| bool enable_rtl_dump_file | ( | int | ) |
Definition at line 1029 of file tree-dump.c.
References dump_enable_all(), TDF_BLOCKS, TDF_DETAILS, and TDF_RTL.
Definition at line 71 of file whirl2c_main.cxx.
References args, fprintf(), program_name, va_end, va_start, and vfprintf().
| int exact_log2 | ( | unsigned | HOST_WIDE_INT | ) |
Definition at line 1712 of file toplev.c.
References flag_errno_math, flag_finite_math_only, flag_trapping_math, and flag_unsafe_math_optimizations.
Referenced by c_cpp_builtins(), and cb_register_builtins().
Definition at line 1788 of file passes.c.
References close_dump_file(), DFI_bp, DFI_combine, DFI_MIN, dump_begin(), dump_combine_total_stats(), dump_end(), dump_file, dump_initialized_p(), end_branch_prob(), finish_graph_dump_file(), flag_branch_probabilities, flag_test_coverage, dump_file_info::flags, free(), get_dump_file_info(), get_dump_file_name(), graph_dump_format, i, no_graph, NULL, NULL_RTX, open_dump_file(), optimize, pass_combine, pass_profile, profile_arc_flag, tree_opt_pass::static_pass_number, TDF_GRAPH, TDI_end, timevar_pop, and timevar_push.
Referenced by finalize().
| int floor_log2 | ( | unsigned | HOST_WIDE_INT | ) |
| const char* get_src_pwd | ( | void | ) |
Definition at line 476 of file toplev.c.
References getpwd().
Referenced by c_common_post_options().
Definition at line 455 of file passes.c.
References NEXT_PASS, NULL, p, pass_all_optimizations, pass_branch_target_load_optimize, pass_build_cfg, pass_build_ssa, pass_ccp, pass_cd_dce, pass_ch, pass_clean_state, pass_cleanup_barriers, pass_cleanup_cfg, pass_cleanup_cfg_post_optimizing, pass_combine, pass_complete_unroll, pass_compute_alignments, pass_convert_to_eh_region_ranges, pass_copy_prop, pass_create_structure_vars, pass_cse, pass_cse2, pass_cse_reciprocals, pass_dce, pass_dce_loop, pass_del_ssa, pass_delay_slots, pass_dominator, pass_dse, pass_duplicate_computed_gotos, pass_early_ipa_inline, pass_early_local_passes, pass_early_tree_profile, pass_early_warn_uninitialized, pass_empty_loop, pass_expand, pass_expand_omp, pass_final, pass_fixup_cfg, pass_flow2, pass_fold_builtins, pass_forwprop, pass_fre, pass_free_cfg, pass_free_cfg_annotations, pass_free_datastructures, pass_gcse, pass_gcse2, pass_global_alloc, pass_if_after_combine, pass_if_after_reload, pass_if_conversion, pass_init_datastructures, pass_init_function, pass_initial_value_sets, pass_insn_locators_initialize, pass_instantiate_virtual_regs, pass_ipa_cp, pass_ipa_inline, pass_ipa_pta, pass_ipa_pure_const, pass_ipa_reference, pass_ipa_type_escape, pass_iv_canon, pass_iv_optimize, pass_jump, pass_jump2, pass_jump_bypass, pass_late_warn_uninitialized, pass_leaf_regs, pass_life, pass_lim, pass_linear_transform, pass_local_alloc, pass_loop2, pass_loop_prefetch, pass_lower_cf, pass_lower_complex, pass_lower_complex_O0, pass_lower_eh, pass_lower_omp, pass_lower_vector, pass_lower_vector_ssa, pass_machine_reorg, pass_mark_used_blocks, pass_may_alias, pass_merge_phi, pass_mode_switching, pass_mudflap_1, pass_mudflap_2, pass_nrv, pass_object_sizes, pass_partition_blocks, pass_peephole2, pass_phi_only_cprop, pass_phiopt, pass_postreload_cse, pass_pre, pass_profile, pass_purge_lineno_notes, pass_reassoc, pass_rebuild_cgraph_edges, pass_recompute_reg_usage, pass_record_bounds, pass_referenced_vars, pass_regmove, pass_regrename, pass_remove_useless_stmts, pass_rename_ssa_copies, pass_reorder_blocks, pass_reset_cc_flags, pass_return_slot, pass_rtl_doloop, pass_rtl_eh, pass_rtl_ifcvt, pass_rtl_loop_done, pass_rtl_loop_init, pass_rtl_move_loop_invariants, pass_rtl_seqabstr, pass_rtl_unroll_and_peel_loops, pass_rtl_unswitch, pass_scev_cprop, pass_sched, pass_sched2, pass_see, pass_set_nothrow_function_flags, pass_shorten_branches, pass_sink_code, pass_sms, pass_split_all_insns, pass_split_before_regstack, pass_split_crit_edges, pass_split_for_shorten_branches, pass_sra, pass_stack_adjustments, pass_stack_regs, pass_stdarg, pass_store_ccp, pass_store_copy_prop, pass_tail_calls, pass_tail_recursion, pass_tracer, pass_tree_loop, pass_tree_loop_done, pass_tree_loop_init, pass_tree_profile, pass_tree_unswitch, pass_uncprop, pass_unshare_all_rtl, pass_variable_tracking, pass_vectorize, pass_vrp, pass_warn_function_noreturn, pass_warn_function_return, pass_web, PROP_cfg, PROP_gimple_any, PROP_gimple_lcf, PROP_gimple_leh, register_dump_files(), and tree_opt_pass::sub.
Referenced by general_init().
| void internal_error | ( | const char * | , | |
| ... | ||||
| ) |
Definition at line 518 of file diagnostic.c.
References diagnostic_set_info(), gcc_unreachable, input_location, report_diagnostic, va_end, and va_start.
| void pedwarn | ( | const char * | , | |
| ... | ||||
| ) |
Definition at line 1287 of file toplev.c.
References _, __VERSION__, fnotice(), fprintf(), N_, PARAM_VALUE, TARGET_NAME, and version_string.
| int read_integral_parameter | ( | const char * | , | |
| const char * | , | |||
| const | int | |||
| ) |
Definition at line 202 of file passes.c.
References alias, ASM_FINISH_DECLARE_OBJECT, asm_out_file, assemble_alias(), assemble_variable(), cgraph_global_info_ready, cgraph_varpool_finalize_decl(), cgraph_varpool_node(), debug_hooks, DECL_ASSEMBLER_NAME_SET_P, DECL_ATTRIBUTES, DECL_DEFER_OUTPUT, DECL_EXTERNAL, DECL_INITIAL, DECL_REGISTER, errorcount, get_identifier(), last_assemble_variable_decl, lookup_attribute(), make_decl_rtl(), sorrycount, timevar_pop, timevar_push, TREE_CODE, TREE_STATIC, TREE_STRING_POINTER, TREE_VALUE, and gcc_debug_hooks::type_decl.
Definition at line 285 of file passes.c.
References debug_hooks, errorcount, sorrycount, timevar_pop, timevar_push, gcc_debug_hooks::type_decl, and TYPE_STUB_DECL.
| void set_fast_math_flags | ( | int | ) |
Definition at line 1699 of file toplev.c.
References flag_errno_math, flag_finite_math_only, flag_signaling_nans, flag_trapping_math, and flag_unsafe_math_optimizations.
Referenced by c4x_override_options(), common_handle_option(), and decode_f_option().
| bool set_src_pwd | ( | const char * | ) |
Definition at line 457 of file toplev.c.
References strcmp(), and xstrdup().
Referenced by cb_dir_change().
| void strip_off_ending | ( | char * | , | |
| int | ||||
| ) |
Definition at line 1849 of file toplev.c.
References i.
Referenced by common_handle_option(), do_compile(), independent_decode_option(), init_asm_output(), and process_options().
| int toplev_main | ( | unsigned | int, | |
| const char ** | ||||
| ) |
Definition at line 2215 of file toplev.c.
References decode_options(), do_compile(), errorcount, exit_after_options, FATAL_EXIT_CODE, general_init(), randomize(), sorrycount, and SUCCESS_EXIT_CODE.
Definition at line 597 of file tree-optimize.c.
References all_passes, BITMAP_ALLOC, bitmap_obstack_initialize(), bitmap_obstack_release(), cfun, cgraph_clone_inlined_nodes(), cgraph_clone_node(), cgraph_edge(), cgraph_global_info_ready, cgraph_mark_needed_node(), cgraph_node(), cgraph_node_remove_callees(), cgraph_preserve_function_body_p(), cgraph_remove_node(), compare_tree_int(), current_function_decl, DECL_ARGUMENTS, DECL_EXTERNAL, DECL_INITIAL, DECL_SAVED_TREE, DECL_SOURCE_LOCATION, DECL_STRUCT_FUNCTION, error_mark_node, execute_pass_list(), flag_inline_trees, gcc_assert, ggc_collect(), init_function_start(), input_location, larger_than_size, node, NULL, optimize_inline_calls(), reg_obstack, save_body(), save_inline_function_body(), strcmp(), timevar_pop, timevar_push, TREE_CODE, TREE_INT_CST_LOW, tree_register_cfg_hooks(), TREE_TYPE, TYPE_SIZE_UNIT, update_inlined_to_pointers(), vars_to_rename, walk_tree_without_duplicates(), warn_inline, warn_larger_than, and warning.
| const char* trim_filename | ( | const char * | ) |
Definition at line 404 of file diagnostic.c.
References _, text_info::args_ptr, text_info::err_no, errno, text_info::format_spec, global_dc, pp_flush, pp_format_verbatim, diagnostic_context::printer, va_end, and va_start.
Definition at line 1478 of file diagnostic.c.
References DECL_NAME, DECL_P, DECL_SOURCE_FILE, DECL_SOURCE_LINE, DECL_SOURCE_LOCATION, expand_location, IDENTIFIER_POINTER, NULL, TREE_CODE, TYPE_NAME, TYPE_P, TYPE_STUB_DECL, warn_deprecated_decl, and warning.
Referenced by build_call(), build_class_member_access_expr(), build_component_ref(), build_external_ref(), do_identifier(), finish_class_member_access_expr(), finish_id_expression(), and grokdeclarator().
| void warning0 | ( | const char * | , | |
| ... | ||||
| ) |
Definition at line 748 of file toplev.c.
References CODE_CONTAINS_STRUCT, DECL_DEFER_OUTPUT, DECL_SIZE, and TREE_CODE.
Referenced by c_write_global_declarations_1(), and wrapup_global_declarations().
Definition at line 763 of file toplev.c.
References cgraph_global_info_ready, cgraph_varpool_node(), DECL_ARTIFICIAL, DECL_ASSEMBLER_NAME, DECL_COMDAT, DECL_EXTERNAL, flag_keep_static_consts, node, rest_of_decl_compilation(), TREE_ASM_WRITTEN, TREE_CODE, TREE_PUBLIC, TREE_READONLY, TREE_STATIC, and TREE_USED.
Referenced by c_write_global_declarations_1(), and wrapup_global_declarations().
Definition at line 2040 of file toplev.c.
References DECL_ARTIFICIAL, DECL_ASSEMBLER_NAME, DECL_COMDAT, DECL_DEFER_OUTPUT, DECL_EXTERNAL, DECL_INITIAL, DECL_SAVED_INSNS, DECL_SIZE, i, NULL, rest_of_decl_compilation(), TREE_ASM_WRITTEN, TREE_CODE, TREE_PUBLIC, TREE_READONLY, TREE_STATIC, TREE_SYMBOL_REFERENCED, wrapup_global_declaration_1(), and wrapup_global_declaration_2().
Referenced by cp_finish_file(), finish_file(), wrapup_globals_for_namespace(), and write_global_declarations().
Definition at line 459 of file langhooks.c.
References check_global_declarations(), emit_debug_global_declarations(), free(), i, len, list_length(), TREE_CHAIN, vec, wrapup_global_declarations(), xmalloc(), and XNEWVEC.
| const char* asm_file_name |
| const char* aux_base_name |
| const char* aux_info_file_name |
| const char* dump_base_name |
Definition at line 446 of file toplev.c.
Referenced by decode_options(), gate_handle_regrename(), rest_of_compilation(), and rest_of_handle_regrename().
| int flag_peel_loops |
Definition at line 557 of file toplev.c.
Referenced by decode_options(), rest_of_handle_cfg(), rest_of_handle_jump2(), and rest_of_handle_life().
| int flag_tracer |
Definition at line 984 of file toplev.c.
Referenced by common_handle_option(), gate_handle_tracer(), and rest_of_compilation().
Definition at line 54 of file stringpool.c.
Referenced by c_common_init_options(), get_identifier_nocopy(), init_c_lex(), save_partially_mangled_name(), and start_mangling().
| unsigned local_tick |
Definition at line 269 of file toplev.c.
Referenced by build_gcov_info(), coverage_begin_output(), and coverage_finish().
| int time_report |
Definition at line 363 of file toplev.c.
Referenced by gate_handle_partition_blocks(), handle_section_attribute(), rest_of_compilation(), and rest_of_handle_final().
1.5.6