GCC Middle and Back End API Reference
errors.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


void warning (const char *,...) ATTRIBUTE_PRINTF_1 ATTRIBUTE_COLD
void error (const char *,...) ATTRIBUTE_PRINTF_1 ATTRIBUTE_COLD
void internal_error (const char *,...) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF_1 ATTRIBUTE_COLD
const char * trim_filename (const char *)


int have_error
const char * progname

Function Documentation

void error ( const char *  ,

Referenced by build_ssa_operands(), cancel_loop(), cancel_loop_tree(), cgraph_can_remove_if_no_direct_calls_and_refs_p(), cgraph_debug_gimple_stmt(), cgraph_edge_cannot_lead_to_return(), clone_of_p(), collect_callers_of_node_1(), complete_mode(), compute_frequency_overlap(), convert_to_complex(), convert_to_pointer(), coverage_obj_fn(), debug_symtab(), decl_overlaps_hard_reg_set_p(), dump_symtab(), emit_common(), emit_mode_fbit(), emit_tls_common(), expand_builtin_atomic_exchange(), find_partition_fixes(), finish_automaton_decl_table(), first_stmt(), fixup_partitions(), fixup_same_cpp_alias_visibility(), get_last_bb_insn(), get_memmodel(), gimple_move_stmt_histograms(), gimple_push_cleanup(), gimple_split_edge(), gimplify_variable_sized_compare(), go_finish(), handle_alias_pairs(), initializer_constant_valid_p_1(), initiate_insn_decl_table(), insert_decl(), insert_insn_decl(), last_stmt(), make_partial_integer_mode(), make_pass_set_nothrow_function_flags(), make_vector_mode(), make_vector_modes(), new_mode(), output_constant(), output_constructor_bitfield(), parse_input_constraint(), print_rtl_with_bb(), process_bypass_1(), process_bypass_2(), process_excls(), read_counts_file(), read_profile_edge_counts(), register_callback(), renumerate_operands_in_pattern(), resolve_asm_operand_names(), rtl_verify_bb_pointers(), rtl_verify_edges(), split_edge_bb_loc(), swap_ssa_operands(), use_blocks_for_decl_p(), valid_fixed_convert_types_p(), verify_edge_count_and_frequency(), verify_expr(), verify_expr_location_1(), verify_expr_no_block(), verify_gimple_assign(), verify_gimple_assign_ternary(), verify_gimple_goto(), verify_node_sharing(), verify_phi_args(), verify_ssa(), verify_ssa_name(), verify_symtab_base(), verify_types_in_gimple_min_lval(), verify_types_in_gimple_reference(), verify_use(), visit_hist(), and write_lookup_constraint().

void fatal ( const char *  ,
const char* trim_filename ( const char *  )
void warning ( const char *  ,

Variable Documentation

int have_error
   Starts out 0, set to 1 if error is called.  

Referenced by gen_insn(), gen_mnemonic_attr(), gen_mnemonic_setattr(), and print_c_condition().

const char* progname

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.