#include "config.h"#include "system.h"#include "coretypes.h"#include "tm.h"#include "tree.h"#include "version.h"#include "flags.h"#include "real.h"#include "c-common.h"#include "c-pragma.h"#include "output.h"#include "except.h"#include "toplev.h"#include "tm_p.h"#include "target.h"

Go to the source code of this file.
Defines | |
| #define | TARGET_OS_CPP_BUILTINS() |
| #define | TARGET_OBJFMT_CPP_BUILTINS() |
| #define | REGISTER_PREFIX "" |
| #define | preprocessing_asm_p() (cpp_get_options (pfile)->lang == CLK_ASM) |
| #define | preprocessing_trad_p() (cpp_get_options (pfile)->traditional) |
| #define | builtin_define(TXT) cpp_define (pfile, TXT) |
| #define | builtin_assert(TXT) cpp_assert (pfile, TXT) |
Functions/Subroutines | |
| void | builtin_define_std (static void builtin_define_with_value_n(const char const char *) |
| static void | builtin_define_float_constants (const char *name_prefix, const char *fp_suffix, const char *fp_cast, tree type) |
| static void | builtin_define_decimal_float_constants (const char *name_prefix, const char *suffix, tree type) |
| static void | define__GNUC__ (void) |
| static void | builtin_define_stdint_macros (void) |
| void | c_cpp_builtins (cpp_reader *pfile) |
| void | builtin_define_std (const char *macro) |
| void | builtin_define_with_value (const char *macro, const char *expansion, int is_str) |
| static void | builtin_define_with_value_n (const char *macro, const char *expansion, size_t elen) |
| static void | builtin_define_with_int_value (const char *macro, HOST_WIDE_INT value) |
| static void | builtin_define_with_hex_fp_value (const char *macro, tree type ATTRIBUTE_UNUSED, int digits, const char *hex_str, const char *fp_suffix, const char *fp_cast) |
| static void | builtin_define_type_max (const char *macro, tree type, int is_long) |
| #define builtin_assert | ( | TXT | ) | cpp_assert (pfile, TXT) |
| #define builtin_define | ( | TXT | ) | cpp_define (pfile, TXT) |
| #define preprocessing_asm_p | ( | ) | (cpp_get_options (pfile)->lang == CLK_ASM) |
| #define preprocessing_trad_p | ( | ) | (cpp_get_options (pfile)->traditional) |
| #define REGISTER_PREFIX "" |
Definition at line 46 of file c-cppbuiltin.c.
| #define TARGET_OBJFMT_CPP_BUILTINS | ( | ) |
Definition at line 42 of file c-cppbuiltin.c.
| #define TARGET_OS_CPP_BUILTINS | ( | ) |
Definition at line 38 of file c-cppbuiltin.c.
| static void builtin_define_decimal_float_constants | ( | const char * | name_prefix, | |
| const char * | suffix, | |||
| tree | type | |||
| ) | [static] |
Definition at line 272 of file c-cppbuiltin.c.
References buf, builtin_define_with_int_value(), builtin_define_with_value(), real_format::emax, real_format::emin, p, real_format::p, REAL_MODE_FORMAT, sprintf(), and TYPE_MODE.
Referenced by c_cpp_builtins().
| static void builtin_define_float_constants | ( | const char * | name_prefix, | |
| const char * | fp_suffix, | |||
| const char * | fp_cast, | |||
| tree | type | |||
| ) | [static] |
Definition at line 77 of file c-cppbuiltin.c.
References real_format::b, buf, builtin_define_with_hex_fp_value(), builtin_define_with_int_value(), builtin_define_with_value(), real_format::emax, real_format::emin, float_type_node, gcc_assert, real_format::has_denorm, i, real_format::log2_b, long_double_type_node, MODE_HAS_INFINITIES, MODE_HAS_NANS, n, p, real_format::p, real_format::pnan, REAL_MODE_FORMAT, sprintf(), strcpy, and TYPE_MODE.
| void builtin_define_std | ( | const char * | macro | ) |
Definition at line 50 of file c-cppbuiltin.c.
References builtin_define_with_int_value(), and TYPE_PRECISION.
Definition at line 377 of file c-cppbuiltin.c.
References builtin_define_type_max(), gcc_unreachable, integer_type_node, intmax_type_node, long_integer_type_node, and long_long_integer_type_node.
Definition at line 713 of file c-cppbuiltin.c.
References alloca, buf, cpp_define(), gcc_unreachable, idx, parse_in, sprintf(), strlen(), TYPE_PRECISION, TYPE_UNSIGNED, and values.
| static void builtin_define_with_hex_fp_value | ( | const char * | macro, | |
| tree type | ATTRIBUTE_UNUSED, | |||
| int | digits, | |||
| const char * | hex_str, | |||
| const char * | fp_suffix, | |||
| const char * | fp_cast | |||
| ) | [static] |
Definition at line 677 of file c-cppbuiltin.c.
References cpp_define(), parse_in, real_from_string(), real_to_decimal(), REAL_VALUE_TYPE, and sprintf().
| static void builtin_define_with_int_value | ( | const char * | macro, | |
| HOST_WIDE_INT | value | |||
| ) | [static] |
Definition at line 660 of file c-cppbuiltin.c.
References alloca, buf, cpp_define(), HOST_WIDE_INT_PRINT_DEC, memcpy, parse_in, sprintf(), and strlen().
| void builtin_define_with_value | ( | const char * | macro, | |
| const char * | expansion, | |||
| int | is_str | |||
| ) |
Definition at line 621 of file c-cppbuiltin.c.
References alloca, buf, cpp_define(), parse_in, sprintf(), and strlen().
| static void builtin_define_with_value_n | ( | const char * | macro, | |
| const char * | expansion, | |||
| size_t | elen | |||
| ) | [static] |
Definition at line 643 of file c-cppbuiltin.c.
References alloca, buf, cpp_define(), memcpy, parse_in, and strlen().
| void c_cpp_builtins | ( | cpp_reader * | pfile | ) |
Definition at line 393 of file c-cppbuiltin.c.
References builtin_define, builtin_define_decimal_float_constants(), builtin_define_float_constants(), builtin_define_stdint_macros(), builtin_define_type_max(), builtin_define_type_precision(), builtin_define_with_int_value(), builtin_define_with_value(), c_dialect_cxx, c_dialect_objc, c_stddef_cpp_builtins(), char_type_node, cpp_define(), define__GNUC__(), dfloat128_type_node, dfloat32_type_node, dfloat64_type_node, double_type_node, fast_math_flags_set_p(), flag_abi_version, flag_exceptions, flag_finite_math_only, flag_iso, flag_next_runtime, flag_openmp, flag_pic, flag_really_no_inline, flag_signaling_nans, flag_signed_char, flag_single_precision_constant, flag_undef, flag_weak, float_type_node, gcc_target::handle_pragma_extern_prefix, gcc_target::handle_pragma_redefine_extname, integer_type_node, long_double_type_node, long_integer_type_node, long_long_integer_type_node, optimize, optimize_size, POINTER_SIZE, REGISTER_PREFIX, short_integer_type_node, signed_char_type_node, SUPPORTS_ONE_ONLY, TARGET_CPU_CPP_BUILTINS, TARGET_DEC_EVAL_METHOD, TARGET_DECLSPEC, TARGET_FLT_EVAL_METHOD, TARGET_OBJFMT_CPP_BUILTINS, TARGET_OS_CPP_BUILTINS, targetm, TYPE_PRECISION, TYPE_UNSIGNED, user_label_prefix, USING_SJLJ_EXCEPTIONS, version_string, warn_deprecated, and wchar_type_node.
Referenced by finish_options().
Definition at line 336 of file c-cppbuiltin.c.
References builtin_define_with_value_n(), c_dialect_cxx, gcc_assert, ISDIGIT, q, and version_string.
1.5.6