|
const char * | trim_filename (const char *) |
|
void | internal_error (const char *,...) ATTRIBUTE_GCC_DIAG(1 |
|
void | internal_error_no_backtrace (const char *,...) ATTRIBUTE_GCC_DIAG(1 |
|
bool | warning (diagnostic_option_id, const char *,...) ATTRIBUTE_GCC_DIAG(2 |
|
bool bool | warning_n (location_t, diagnostic_option_id, unsigned HOST_WIDE_INT, const char *, const char *,...) ATTRIBUTE_GCC_DIAG(4 |
|
bool bool | ATTRIBUTE_GCC_DIAG (5, 6) |
|
bool | warning_n (rich_location *, diagnostic_option_id, unsigned HOST_WIDE_INT, const char *, const char *,...) ATTRIBUTE_GCC_DIAG(4 |
|
bool | warning_at (location_t, diagnostic_option_id, const char *,...) ATTRIBUTE_GCC_DIAG(3 |
|
bool bool | warning_at (rich_location *, diagnostic_option_id, const char *,...) ATTRIBUTE_GCC_DIAG(3 |
|
bool bool bool | warning_meta (rich_location *, const diagnostic_metadata &, diagnostic_option_id, const char *,...) ATTRIBUTE_GCC_DIAG(4 |
|
bool bool bool void | error (const char *,...) ATTRIBUTE_GCC_DIAG(1 |
|
bool bool bool void void | error_n (location_t, unsigned HOST_WIDE_INT, const char *, const char *,...) ATTRIBUTE_GCC_DIAG(3 |
|
bool bool bool void void | ATTRIBUTE_GCC_DIAG (4, 5) |
|
void | error_at (location_t, const char *,...) ATTRIBUTE_GCC_DIAG(2 |
|
void void | error_at (rich_location *, const char *,...) ATTRIBUTE_GCC_DIAG(2 |
|
void void void | error_meta (rich_location *, const diagnostic_metadata &, const char *,...) ATTRIBUTE_GCC_DIAG(3 |
|
void void void void | fatal_error (location_t, const char *,...) ATTRIBUTE_GCC_DIAG(2 |
|
bool | pedwarn (location_t, diagnostic_option_id, const char *,...) ATTRIBUTE_GCC_DIAG(3 |
|
bool bool | pedwarn (rich_location *, diagnostic_option_id, const char *,...) ATTRIBUTE_GCC_DIAG(3 |
|
bool bool bool | permerror (location_t, const char *,...) ATTRIBUTE_GCC_DIAG(2 |
|
bool bool bool bool | permerror (rich_location *, const char *,...) ATTRIBUTE_GCC_DIAG(2 |
|
bool bool bool bool bool | permerror_opt (location_t, diagnostic_option_id, const char *,...) ATTRIBUTE_GCC_DIAG(3 |
|
bool bool bool bool bool bool | permerror_opt (rich_location *, diagnostic_option_id, const char *,...) ATTRIBUTE_GCC_DIAG(3 |
|
bool bool bool bool bool bool void | sorry (const char *,...) ATTRIBUTE_GCC_DIAG(1 |
|
bool bool bool bool bool bool void void | sorry_at (location_t, const char *,...) ATTRIBUTE_GCC_DIAG(2 |
|
bool bool bool bool bool bool void void void | inform (location_t, const char *,...) ATTRIBUTE_GCC_DIAG(2 |
|
bool bool bool bool bool bool void void void void | inform (rich_location *, const char *,...) ATTRIBUTE_GCC_DIAG(2 |
|
bool bool bool bool bool bool void void void void void | inform_n (location_t, unsigned HOST_WIDE_INT, const char *, const char *,...) ATTRIBUTE_GCC_DIAG(3 |
|
void | verbatim (const char *,...) ATTRIBUTE_GCC_DIAG(1 |
|
void bool | emit_diagnostic (diagnostic_t, location_t, diagnostic_option_id, const char *,...) ATTRIBUTE_GCC_DIAG(4 |
|
void bool bool | emit_diagnostic (diagnostic_t, rich_location *, diagnostic_option_id, const char *,...) ATTRIBUTE_GCC_DIAG(4 |
|
void bool bool bool | emit_diagnostic_valist (diagnostic_t, location_t, diagnostic_option_id, const char *, va_list *) ATTRIBUTE_GCC_DIAG(4 |
|
void bool bool bool bool | emit_diagnostic_valist_meta (diagnostic_t, rich_location *, const diagnostic_metadata *, diagnostic_option_id, const char *, va_list *) ATTRIBUTE_GCC_DIAG(5 |
|
void bool bool bool bool bool | seen_error (void) |
|
Declarations of core diagnostic functionality for code that does
not need to deal with diagnostic contexts or diagnostic info
structures.
Copyright (C) 1998-2024 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/>.
Constants used to discriminate diagnostics.
Enumerator |
---|
DK_LAST_DIAGNOSTIC_KIND | Copyright (C) 2001-2024 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/>. DK_UNSPECIFIED must be first so it has a value of zero. We never
assign this kind to an actual diagnostic, we only use this in
variables that can hold a kind, to mean they have yet to have a
kind specified. I.e. they're uninitialized. Within the diagnostic
machinery, this kind also means "don't change the existing kind",
meaning "no change is specified". If a diagnostic is set to DK_IGNORED, it won't get reported at all.
This is used by the diagnostic machinery when it wants to disable a
diagnostic without disabling the option which causes it. The remainder are real diagnostic types. For use when using the diagnostic_show_locus machinery to show
a range of events within a path. These two would be re-classified as DK_WARNING or DK_ERROR, so the
prefix does not matter. This one is just for counting DK_WARNING promoted to DK_ERROR
due to -Werror and -Werror=warning. This is like DK_ICE, but backtrace is not printed. Used in the driver
when reporting fatal signal in the compiler. |
DK_POP | |
DK_ANY | |
Referenced by _fatal_insn(), add_excls(), add_new_plugin(), add_predicate(), add_prefix_map(), add_presence_absence(), align_variable(), allocate_dynamic_stack_space(), asm_clobber_reg_is_valid(), assemble_alias(), assemble_noswitch_variable(), assemble_variable(), assign_temp(), build_array_type_1(), build_function_type(), check_automata_insn_issues(), check_automaton_usage(), check_foffload_target_names(), check_loops_in_regexps(), check_name(), check_offload_target_name(), check_operand_nalternatives(), check_regexp_units_distribution(), check_unique_operand_names(), check_usage(), compare_files(), complain_wrong_lang(), complete_mode(), complex_class(), compute_branch_probabilities(), compute_value_histograms(), control_warning_option(), convert_to_complex_1(), convert_to_fixed(), convert_to_integer_1(), convert_to_pointer_1(), convert_to_real_1(), convert_to_vector(), coverage_init(), dbg_cnt_set_limit_by_index(), dbg_cnt_set_limit_by_name(), decl_attributes(), declare_weak(), decode_cmdline_option(), def_target_insn(), default_expand_builtin_saveregs(), diagnose_sb_0(), do_assemble_symver(), do_link(), do_spec_1(), driver::do_spec_on_infiles(), driver_wrong_lang_callback(), dump_gcov_file(), dump_go_spec_init(), dump_open(), gcc::dump_manager::dump_switch_p(), enable_disable_pass(), end_going_arg(), error_unavailable_use(), execute_cleanup_cfg_post_optimizing(), expand_builtin(), expand_builtin___clear_cache(), expand_builtin_atomic_always_lock_free(), expand_builtin_atomic_is_lock_free(), expand_builtin_eh_return_data_regno(), expand_builtin_frame_address(), expand_builtin_goacc_parlevel_id_size(), expand_builtin_object_size(), expand_builtin_prefetch(), expand_builtin_set_thread_pointer(), expand_builtin_thread_pointer(), expand_call_inline(), expand_eh_return(), expand_expr_real_1(), expand_one_var(), expand_thunk(), files_equal_p(), find_partition_fixes(), fix_register(), fold_builtin_next_arg(), for_each_matching_insn(), get_section(), gimple_verify_flow_info(), gimplify_adjust_omp_clauses_1(), gimplify_asm_expr(), gimplify_call_expr(), gimplify_scan_omp_clauses(), globalize_reg(), go_finish(), handle_alias_pairs(), handle_common_deferred_options(), handle_ignored_attributes_option(), function_reader::handle_insn_uids(), function_reader::handle_unknown_directive(), driver::handle_unrecognized_options(), input_offload_tables(), insert_bypass(), ira_setup_eliminable_regset(), layout_type(), lookup_compiler(), lra_split_hard_reg_for(), main(), make_complex_modes(), make_decl_rtl(), make_int_n(), make_partial_integer_mode(), make_vector_bool_mode(), make_vector_mode(), make_vector_modes(), mark_mode_tests(), mark_weak(), driver::maybe_run_linker(), merge_weak(), new_adjust(), new_mode(), oacc_default_clause(), omp_default_clause(), omp_is_private(), omp_notice_threadprivate_variable(), omp_notice_variable(), output_constant(), output_constructor_bitfield(), parse_and_check_patch_area(), parse_edge_flag_token(), function_reader::parse_enum_value(), parse_input_constraint(), parse_output_constraint(), parse_plugin_arg_opt(), parse_profile_filter(), parse_zero_call_used_regs_options(), position_pass(), print_help(), process_decls(), process_excls(), process_presence_absence_names(), process_presence_absence_patterns(), process_regexp(), read_count_file(), read_counts_file(), read_input_list(), autofdo::read_profile(), register_callback(), register_plugin_info(), replace_duplicating_operands_in_pattern(), reset_float_format(), symtab_node::resolve_alias(), 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(), driver::set_up_specs(), spill_failure(), tree_inlinable_function_p(), update_ssa(), valid_constant_size_p(), vector_class(), verify_address(), symtab_node::verify_base(), cgraph_edge::verify_count(), verify_def(), verify_dominators(), verify_eh_dispatch_edge(), verify_eh_edges(), verify_eh_throw_stmt_node(), verify_eh_tree(), verify_expr_location_1(), verify_flow_info(), verify_gimple_assign(), verify_gimple_assign_binary(), verify_gimple_assign_single(), verify_gimple_assign_ternary(), verify_gimple_assign_unary(), verify_gimple_call(), verify_gimple_comparison(), verify_gimple_cond(), verify_gimple_goto(), verify_gimple_in_cfg(), verify_gimple_label(), verify_gimple_phi(), verify_gimple_return(), verify_gimple_switch(), verify_histograms(), verify_hot_cold_block_grouping(), verify_imm_links(), verify_location(), verify_loop_structure(), cgraph_node::verify_node(), verify_opaque_type(), verify_phi_args(), verify_rtx_sharing(), verify_speculative_call(), verify_ssa(), verify_ssa_name(), operands_scanner::verify_ssa_operands(), symtab_node::verify_symtab_nodes(), verify_type(), verify_type_variant(), verify_types_in_gimple_reference(), verify_use(), verify_vssa(), visit_hist(), write_insn_constraint_len(), and write_tm_constrs_h().
const char * trim_filename |
( |
const char * | name | ) |
|
|
extern |
Given a partial pathname as input, return another pathname that
shares no directory elements with the pathname of __FILE__. This
is used by fancy_abort() to print `internal compiler error in expr.cc'
instead of `internal compiler error in ../../GCC/gcc/expr.cc'.
Given a partial pathname as input, return another pathname that
shares no directory elements with the pathname of __FILE__. This
is used by fancy_abort() to print `Internal compiler error in expr.cc'
instead of `Internal compiler error in ../../GCC/gcc/expr.cc'. This
version is meant to be used for the gen* programs and therefor need not
handle subdirectories.
References this_file.
Referenced by emit_insn_modes_h(), new_adjust(), and new_mode().
Name of program invoked, sans directories.
Basic error reporting routines.
Copyright (C) 1999-2024 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.cc.
Set this to argv[0] at the beginning of main.
Referenced by display_help(), execute(), general_init(), diagnostic_column_policy::get_location_text(), main(), main(), main(), main(), main(), driver::maybe_print_and_exit(), print_usage(), print_version(), read_state(), read_state_structures(), read_state_typedefs(), read_state_variables(), driver::set_progname(), usage(), write_insn_preds_c(), state_writer::write_state_structures(), state_writer::write_state_typedefs(), state_writer::write_state_variables(), write_tm_constrs_h(), write_tm_preds_h(), and diagnostic_text_output_format::~diagnostic_text_output_format().