GCC Middle and Back End API Reference
|
#include <stddef.h>
#include <float.h>
#include <stdarg.h>
#include <stdio.h>
#include <sys/types.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <limits.h>
#include <time.h>
#include "filenames.h"
Go to the source code of this file.
Macros | |
#define | HAVE_DECL_GETOPT 1 |
#define | _GNU_SOURCE 1 |
#define | NULL 0 |
#define | alloca(x) |
#define | gcc_assert(EXPR) |
#define | gcc_unreachable() |
#define | CONST_CAST2(TOTYPE, FROMTYPE, X) |
#define | CONST_CAST(TYPE, X) |
Variables | |
int | errno |
#define _GNU_SOURCE 1 |
We want everything from the glibc headers.
#define alloca | ( | x | ) |
GCC always provides __builtin_alloca(x).
Referenced by add_mnemonic_string(), check_bb_profile(), create_coalesce_list_for_region(), default_function_rodata_section(), default_internal_label(), do_option_spec(), do_spec_1(), dump_bb_info(), operands_scanner::get_asm_stmt_operands(), get_file_function_name(), get_named_text_section(), gimple_regimplify_operands(), gimplify_asm_expr(), is_directory(), mergeable_constant_section(), mergeable_string_section(), mpz_get_double_int(), omp_construct_selector_matches(), omp_context_compute_score(), omp_context_selector_matches(), used_arg_t::operator()(), prefix_name(), print_loop(), print_loops_bb(), rtx_writer::print_rtl_single_with_indent(), process_command(), rtl_dump_bb(), driver::set_up_specs(), set_user_assembler_name(), sjlj_fix_up_crossing_landing_pad(), translate_name(), and walk_gimple_asm().
#define CONST_CAST | ( | TYPE, | |
X ) |
#define CONST_CAST2 | ( | TOTYPE, | |
FROMTYPE, | |||
X ) |
#define gcc_assert | ( | EXPR | ) |
Include EXPR, so that unused variable warnings do not occur.
#define gcc_unreachable | ( | ) |
#define HAVE_DECL_GETOPT 1 |
Get common system includes and various definitions and declarations based on target macros. Copyright (C) 2000-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. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>.
System headers (e.g. stdio.h, stdlib.h, unistd.h) sometimes indirectly include getopt.h. Our -I flags will cause gcc's gnu getopt.h to be included, not the platform's copy. In the default case, gnu getopt.h will provide us with a no-argument prototype which will generate -Wstrict-prototypes warnings. None of the target files actually use getopt, so it is safe to tell gnu getopt.h we never need this prototype.
#define NULL 0 |
If these system headers do not exist, fixincludes must create them.
GCC supplies this header.
If these system headers do not exist, fixincludes must create them.
Define a generic NULL if one hasn't already been defined.
|
extern |
GCC supplies these headers.
We disable this when inhibit_libc, so that gcc can still be built without needing header files first.
??? This is not a good solution, since prototypes may be required in some cases for correct code.
GCC supplies this header.
All systems have this header.
All systems have this header.
All systems have this header.
Referenced by collect_execute(), decode_reg_name_and_count(), diagnostic_cb(), diagnostic_set_info_translated(), dosum(), dot_dominance_tree(), dump_context::dump_printf_va(), execute(), gcov_open(), gcov_output_files(), jobserver_info::get_token(), identifier_to_locale(), integral_argument(), main(), libgdiagnostics_path_event::make_desc(), maybe_unlink(), oacc_parse_default_dims(), open_outfile(), open_outfile(), opt_problem::opt_problem(), pp_printf(), pp_printf_n(), pp_verbatim(), graphviz_out::print(), graphviz_out::println(), read_input_list(), read_state(), remove_duplicates(), run_attempt(), scan_prog_file(), set_asan_shadow_offset(), set_source_date_epoch_envvar(), verbatim(), write_automata(), write_state_trailer(), and json_file_output_format::~json_file_output_format().