GCC Middle and Back End API Reference
|
Go to the source code of this file.
Functions | |
void | warning (const char *,...) ATTRIBUTE_PRINTF_1 ATTRIBUTE_COLD |
void | error (const char *,...) ATTRIBUTE_PRINTF_1 ATTRIBUTE_COLD |
void | fatal (const char *,...) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF_1 ATTRIBUTE_COLD |
void | internal_error (const char *,...) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF_1 ATTRIBUTE_COLD |
const char * | trim_filename (const char *) |
Variables | |
int | have_error |
const char * | progname |
void error | ( | const char * | , |
... | |||
) |
Referenced by _fatal_insn(), add_debug_prefix_map(), add_excls(), add_new_plugin(), add_predicate(), add_presence_absence(), allocate_dynamic_stack_space(), assemble_alias(), assemble_variable(), assign_temp(), build_array_type_1(), build_function_type(), check_automata_insn_issues(), check_automaton_usage(), check_loops_in_regexps(), check_name(), check_operand_nalternatives(), check_regexp_units_distribution(), check_unique_operand_names(), check_usage(), collect_wait(), compare_files(), complain_wrong_lang(), complete_mode(), complex_class(), compute_branch_probabilities(), convert_to_complex(), convert_to_fixed(), convert_to_integer(), convert_to_pointer(), convert_to_real(), convert_to_vector(), coverage_init(), dbg_cnt_process_opt(), dbxout_common_check(), decl_attributes(), declare_weak(), default_expand_builtin_saveregs(), diagnose_sb_0(), do_spec_1(), do_tlink(), do_wait(), driver_wrong_lang_callback(), dump_begin(), dump_gcov_file(), dump_go_spec_init(), dump_open_alternate_stream(), dump_start(), enable_disable_pass(), end_going_arg(), execute_cleanup_cfg_post_optimizing(), expand_asm_operands(), expand_builtin(), expand_builtin___clear_cache(), expand_builtin_atomic_always_lock_free(), expand_builtin_atomic_clear(), expand_builtin_atomic_compare_exchange(), expand_builtin_atomic_exchange(), expand_builtin_atomic_is_lock_free(), expand_builtin_atomic_load(), expand_builtin_atomic_store(), expand_builtin_eh_return_data_regno(), expand_builtin_frame_address(), expand_builtin_object_size(), expand_builtin_prefetch(), expand_builtin_set_thread_pointer(), expand_builtin_thread_pointer(), expand_call_inline(), expand_eh_return(), expand_expr_addr_expr_1(), expand_expr_real_1(), expand_one_var(), fix_register(), fold_builtin_next_arg(), for_each_matching_insn(), get_section(), gimple_verify_flow_info(), gimplify_asm_expr(), gimplify_call_expr(), gimplify_scan_omp_clauses(), globalize_reg(), go_finish(), handle_alias_pairs(), handle_common_deferred_options(), handle_dll_attribute(), insert_bypass(), ipa_tm_scan_irr_block(), ira_setup_eliminable_regset(), layout_type(), lookup_compiler(), main(), make_complex_modes(), make_decl_rtl(), make_partial_integer_mode(), make_vector_mode(), make_vector_modes(), mark_mode_tests(), new_adjust(), new_mode(), omp_is_private(), omp_notice_threadprivate_variable(), omp_notice_variable(), output_constant(), output_constructor_bitfield(), parse_input_constraint(), parse_output_constraint(), parse_plugin_arg_opt(), perror_with_name(), position_pass(), process_decls(), process_excls(), process_options(), process_presence_absence_names(), process_presence_absence_patterns(), process_regexp(), read_count_file(), read_counts_file(), read_input_list(), read_profile_edge_counts(), recompile_files(), register_callback(), replace_duplicating_operands_in_pattern(), reset_float_format(), resolve_operand_name_1(), rest_of_clean_state(), rtl_verify_bb_insn_chain(), rtl_verify_bb_insns(), rtl_verify_bb_pointers(), rtl_verify_edges(), rtl_verify_fallthru(), scan_libraries(), set_param_value(), spill_failure(), start_tweaking(), symtab_resolve_alias(), tree_conflicts_with_clobbers_p(), tree_inlinable_function_p(), try_init_one_plugin(), vector_class(), verify_address(), verify_cgraph_node(), verify_def(), verify_dominators(), verify_edge_count_and_frequency(), verify_eh_dispatch_edge(), verify_eh_edges(), verify_eh_throw_stmt_node(), verify_eh_tree(), verify_expr(), verify_flow_info(), verify_gimple_assign_binary(), verify_gimple_assign_single(), verify_gimple_assign_ternary(), verify_gimple_assign_unary(), verify_gimple_call(), verify_gimple_comparison(), verify_gimple_goto(), verify_gimple_in_cfg(), verify_gimple_label(), verify_gimple_phi(), verify_gimple_return(), verify_gimple_stmt(), verify_gimple_switch(), verify_histograms(), verify_hot_cold_block_grouping(), verify_imm_links(), verify_location(), verify_loop_structure(), verify_phi_args(), verify_rtx_sharing(), verify_ssa(), verify_ssa_name(), verify_ssa_operands(), verify_symtab_base(), verify_types_in_gimple_min_lval(), verify_types_in_gimple_reference(), verify_use(), visit_hist(), and write_insn_constraint_len().
void fatal | ( | const char * | , |
... | |||
) |
void internal_error | ( | const char * | , |
... | |||
) |
Referenced by block_ends_with_call_p(), block_ends_with_condjump_p(), bp_unpack_string(), can_duplicate_block_p(), can_merge_blocks_p(), can_remove_branch_p(), opt_pass::clone(), compile(), crash_signal(), create_basic_block(), delete_basic_block(), DFS_write_tree(), dump_bb_for_graph(), duplicate_block(), eliminate_useless_phis(), emit_mode_adjustments(), execute(), expand_asm_operands(), fail_abnormal_edge_coalesce(), fancy_abort(), flow_call_edges_add(), fold_check_failed(), force_nonfallthru(), gimple_check_failed(), gimple_gen_const_delta_profiler(), gimplify_expr(), init_ggc(), input_cgraph_1(), input_edge(), input_gimple_stmt(), input_node(), lra_constraints(), lto_end_compression(), lto_end_uncompression(), lto_get_section_name(), lto_tag_check(), lto_tag_check_range(), lto_tag_check_set(), lto_write_tree(), make_forwarder_block(), mark_functions_to_output(), merge_blocks(), move_block_after(), omp_clause_check_failed(), omp_clause_operand_check_failed(), omp_clause_range_check_failed(), output_operand_lossage(), predict_edge(), predicted_by_p(), print_specific_help(), redirect_edge_and_branch(), redirect_edge_and_branch_force(), register_ssa_partition_check(), rewrite_trees(), rtl_check_failed_block_symbol(), rtl_check_failed_bounds(), rtl_check_failed_code1(), rtl_check_failed_code2(), rtl_check_failed_code_mode(), rtl_check_failed_flag(), rtl_check_failed_type1(), rtl_check_failed_type2(), rtl_verify_bb_layout(), rtvec_check_failed_bounds(), split_block(), split_edge(), streamer_read_string(), string_for_index(), tree_check_failed(), tree_class_check_failed(), tree_contains_struct_check_failed(), tree_not_check_failed(), tree_not_class_check_failed(), tree_operand_check_failed(), tree_range_check_failed(), tree_vec_elt_check_failed(), update_ssa(), validate_value_data(), verify_cgraph_node(), verify_eh_tree(), verify_flow_info(), verify_gimple_in_cfg(), verify_gimple_in_seq(), verify_histograms(), verify_rtx_sharing(), verify_ssa(), and verify_symtab_node().
const char* trim_filename | ( | const char * | ) |
void warning | ( | const char * | , |
... | |||
) |
int have_error |
Starts out 0, set to 1 if error is called.
Referenced by check_all_description(), error(), error_with_line(), expand_automata(), gen_insn(), gen_mnemonic_attr(), init_rtx_reader_args_cb(), main(), process_define_cond_exec(), read_md_files(), validate_optab_operands(), VEC_safe_set_locstr(), and write_automata().
const char* progname |
@verbatim Basic error reporting routines.
Copyright (C) 1999-2013 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see http://www.gnu.org/licenses/.
warning, error, and fatal. These definitions are suitable for use in the generator programs; the compiler has a more elaborate suite of diagnostic printers, found in diagnostic.c.
Set this to argv[0] at the beginning of main.