#include "splay-tree.h"#include "cpplib.h"#include "ggc.h"#include "c-common.def"

Go to the source code of this file.
| #define c99_function_name_decl_node c_global_trees[CTI_C99_FUNCTION_NAME_DECL] |
Definition at line 202 of file c-common.h.
Definition at line 665 of file c-common.h.
| #define C_DECLARED_LABEL_FLAG | ( | label | ) | TREE_LANG_FLAG_1 (label) |
Definition at line 223 of file c-common.h.
| #define c_dialect_cxx | ( | ) | (c_language & clk_cxx) |
Definition at line 238 of file c-common.h.
| #define c_dialect_objc | ( | ) | (c_language & clk_objc) |
Definition at line 239 of file c-common.h.
Definition at line 167 of file c-common.h.
Definition at line 664 of file c-common.h.
Definition at line 602 of file c-common.h.
Definition at line 599 of file c-common.h.
Definition at line 607 of file c-common.h.
Definition at line 596 of file c-common.h.
| #define char_array_type_node c_global_trees[CTI_CHAR_ARRAY_TYPE] |
Definition at line 192 of file c-common.h.
Definition at line 747 of file c-common.h.
Definition at line 723 of file c-common.h.
| #define COMPOUND_LITERAL_EXPR_DECL_STMT | ( | NODE | ) | TREE_OPERAND (COMPOUND_LITERAL_EXPR_CHECK (NODE), 0) |
Definition at line 721 of file c-common.h.
| #define const_string_type_node c_global_trees[CTI_CONST_STRING_TYPE] |
Definition at line 196 of file c-common.h.
| #define cur_stmt_list (current_stmt_tree ()->x_cur_stmt_list) |
Definition at line 279 of file c-common.h.
Definition at line 740 of file c-common.h.
Definition at line 743 of file c-common.h.
| #define default_function_type c_global_trees[CTI_DEFAULT_FUNCTION_TYPE] |
Definition at line 198 of file c-common.h.
Definition at line 726 of file c-common.h.
| #define function_name_decl_node c_global_trees[CTI_FUNCTION_NAME_DECL] |
Definition at line 200 of file c-common.h.
| #define GCC_DIAG_STYLE __gcc_cdiag__ |
Definition at line 967 of file c-common.h.
| #define int_array_type_node c_global_trees[CTI_INT_ARRAY_TYPE] |
Definition at line 194 of file c-common.h.
| #define intmax_type_node c_global_trees[CTI_INTMAX_TYPE] |
Definition at line 183 of file c-common.h.
| #define null_node c_global_trees[CTI_NULL] |
Definition at line 209 of file c-common.h.
| #define OBJC_IS_AT_KEYWORD | ( | rid | ) |
Value:
((unsigned int) (rid) >= (unsigned int) RID_FIRST_AT && \ (unsigned int) (rid) <= (unsigned int) RID_LAST_AT)
Definition at line 114 of file c-common.h.
| #define OBJC_IS_PQ_KEYWORD | ( | rid | ) |
Value:
((unsigned int) (rid) >= (unsigned int) RID_FIRST_PQ && \ (unsigned int) (rid) <= (unsigned int) RID_LAST_PQ)
Definition at line 118 of file c-common.h.
| #define pretty_function_name_decl_node c_global_trees[CTI_PRETTY_FUNCTION_NAME_DECL] |
Definition at line 201 of file c-common.h.
| #define saved_function_name_decls c_global_trees[CTI_SAVED_FUNCTION_NAME_DECLS] |
Definition at line 203 of file c-common.h.
Definition at line 745 of file c-common.h.
| #define signed_size_type_node c_global_trees[CTI_SIGNED_SIZE_TYPE] |
Definition at line 181 of file c-common.h.
| #define signed_wchar_type_node c_global_trees[CTI_SIGNED_WCHAR_TYPE] |
Definition at line 178 of file c-common.h.
Definition at line 717 of file c-common.h.
Definition at line 713 of file c-common.h.
| #define string_type_node c_global_trees[CTI_STRING_TYPE] |
Definition at line 195 of file c-common.h.
| #define truthvalue_false_node c_global_trees[CTI_TRUTHVALUE_FALSE] |
Definition at line 190 of file c-common.h.
| #define truthvalue_true_node c_global_trees[CTI_TRUTHVALUE_TRUE] |
Definition at line 189 of file c-common.h.
| #define truthvalue_type_node c_global_trees[CTI_TRUTHVALUE_TYPE] |
Definition at line 188 of file c-common.h.
| #define uintmax_type_node c_global_trees[CTI_UINTMAX_TYPE] |
Definition at line 184 of file c-common.h.
| #define unsigned_ptrdiff_type_node c_global_trees[CTI_UNSIGNED_PTRDIFF_TYPE] |
Definition at line 182 of file c-common.h.
| #define unsigned_wchar_type_node c_global_trees[CTI_UNSIGNED_WCHAR_TYPE] |
Definition at line 179 of file c-common.h.
| #define void_zero_node c_global_trees[CTI_VOID_ZERO] |
Definition at line 206 of file c-common.h.
| #define wchar_array_type_node c_global_trees[CTI_WCHAR_ARRAY_TYPE] |
Definition at line 193 of file c-common.h.
| #define wchar_type_node c_global_trees[CTI_WCHAR_TYPE] |
Definition at line 177 of file c-common.h.
| #define widest_integer_literal_type_node c_global_trees[CTI_WIDEST_INT_LIT_TYPE] |
Definition at line 185 of file c-common.h.
| #define widest_unsigned_literal_type_node c_global_trees[CTI_WIDEST_UINT_LIT_TYPE] |
Definition at line 186 of file c-common.h.
| #define wint_type_node c_global_trees[CTI_WINT_TYPE] |
Definition at line 180 of file c-common.h.
Definition at line 264 of file c-common.h.
| enum c_language_kind |
| clk_c | |
| clk_cplusplus | |
| clk_c | |
| clk_cplusplus | |
| clk_c | |
| clk_objc | |
| clk_cxx | |
| clk_objcxx | |
| clk_c | |
| clk_objc | |
| clk_cxx | |
| clk_objcxx |
Definition at line 225 of file c-common.h.
| enum c_tree_code |
| C_DUMMY_TREE_CODE | |
| LAST_C_TREE_CODE | |
| C_DUMMY_TREE_CODE | |
| LAST_C_TREE_CODE | |
| C_DUMMY_TREE_CODE | |
| LAST_C_TREE_CODE | |
| C_DUMMY_TREE_CODE | |
| LAST_C_TREE_CODE |
Definition at line 728 of file c-common.h.
| enum c_tree_index |
Definition at line 128 of file c-common.h.
| enum lvalue_use |
| lv_assign | |
| lv_increment | |
| lv_decrement | |
| lv_addressof | |
| lv_asm | |
| lv_assign | |
| lv_increment | |
| lv_decrement | |
| lv_addressof | |
| lv_asm |
Definition at line 838 of file c-common.h.
| enum rid |
Definition at line 46 of file c-common.h.
Definition at line 80 of file c-semantics.c.
References add_stmt(), append_to_statement_list_force(), build_nt(), cur_stmt_list, current_function_decl, DECL_NUM_STMTS, EXPR_HAS_LOCATION, EXPR_P, get_identifier(), input_filename, input_location, last_expr_filename, last_tree, pos(), SET_EXPR_LOCATION, STATEMENT_CODE_P, STATEMENT_LIST_HAS_LABEL, STMT_IS_FULL_EXPR_P, stmts_are_full_exprs_p(), strcmp(), TREE_CHAIN, and TREE_CODE.
Referenced by add_decl_expr(), add_decl_stmt(), add_scope_stmt(), add_stmt(), begin_compound_stmt(), begin_do_stmt(), begin_eh_spec_block(), begin_for_stmt(), begin_function_try_block(), begin_handler(), begin_if_stmt(), begin_switch_stmt(), begin_try_block(), begin_while_stmt(), build_asm_stmt(), c_add_case_label(), c_begin_compound_stmt(), c_expand_expr_stmt(), c_expand_return(), c_expand_start_cond(), c_finish_bc_stmt(), c_finish_expr_stmt(), c_finish_goto_label(), c_finish_goto_ptr(), c_finish_if_stmt(), c_finish_loop(), c_finish_omp_barrier(), c_finish_omp_critical(), c_finish_omp_flush(), c_finish_omp_for(), c_finish_omp_master(), c_finish_omp_ordered(), c_finish_omp_parallel(), c_finish_return(), c_parser_compound_statement_nostart(), c_parser_declaration_or_fndef(), c_parser_do_statement(), c_parser_for_statement(), c_parser_if_body(), c_parser_if_statement(), c_parser_label(), c_parser_objc_method_definition(), c_parser_omp_atomic(), c_parser_omp_for(), c_parser_omp_for_loop(), c_parser_omp_sections(), c_parser_omp_sections_scope(), c_parser_omp_single(), c_parser_statement_after_labels(), c_parser_switch_statement(), c_parser_typeof_specifier(), c_parser_while_statement(), c_start_case(), cp_finish_decl(), cp_parser_implicitly_scoped_statement(), cp_parser_omp_for(), cp_parser_omp_sections_scope(), cp_parser_omp_single(), do_using_directive(), finish_asm_stmt(), finish_break_stmt(), finish_case_label(), finish_compound_stmt(), finish_constructor_body(), finish_continue_stmt(), finish_decl(), finish_decl_cleanup(), finish_destructor_body(), finish_eh_cleanup(), finish_enum(), finish_expr_stmt(), finish_for_init_stmt(), finish_for_stmt(), finish_goto_stmt(), finish_if_stmt(), finish_if_stmt_cond(), finish_label_stmt(), finish_mem_initializers(), finish_named_return_value(), finish_omp_atomic(), finish_omp_for(), finish_omp_parallel(), finish_return_stmt(), finish_stmt_expr_expr(), finish_struct(), finish_switch_cond(), finish_switch_stmt(), handle_pragma_freq_hint(), poplevel(), push_cleanup(), simple_asm_stmt(), store_parm_decls(), and tsubst_expr().
| int anon_aggr_type_p | ( | tree | ) |
| void binary_op_error | ( | enum | tree_code | ) |
Definition at line 2257 of file c-common.c.
References error(), and gcc_unreachable.
Referenced by build_binary_op().
Definition at line 4876 of file c-common.c.
References abort, boolean_true_node, build(), build2, c_bool_true_node, c_language, clk_cplusplus, gcc_unreachable, invert_truthvalue(), save_expr(), stabilize_reference(), TREE_SIDE_EFFECTS, TREE_TYPE, and val.
Referenced by build_unary_op().
Definition at line 679 of file c-semantics.c.
References build_stmt(), and CASE_LABEL.
Referenced by c_add_case_label(), and finish_case_label().
Definition at line 1486 of file c-typeck.c.
References AGGREGATE_TYPE_P, build(), build1, build2, build3, build_addr_func(), build_compound_literal(), build_constructor(), build_cxx_call(), build_function_call(), build_function_call_real(), build_pointer_type(), build_type_variant, built_in_decls, c_dialect_objc, check_function_arguments(), comptypes(), convert_arguments(), current_function_returns_abnormally, DECL_ASSEMBLER_NAME, DECL_BUILT_IN, DECL_INLINE, DECL_MAIN_P, DECL_NAME, default_conversion(), error(), error_mark_node, expand_tree_builtin(), fold(), fold_build3, fold_build3_initializer(), fold_convert(), fold_initializer(), function_to_pointer_conversion(), IDENTIFIER_POINTER, inform(), inline_conversion(), integer_zero_node, LOOKUP_NORMAL, mark_used(), NULL_TREE, objc_rewrite_function_call(), pedantic, pedwarn(), pedwarn_init(), require_complete_type(), require_constant_value, resolve_overloaded_builtin(), result, STRIP_TYPE_NOPS, strncmp(), TREE_CODE, TREE_CONSTANT, TREE_OPERAND, TREE_READONLY, TREE_SIDE_EFFECTS, TREE_THIS_VOLATILE, TREE_TYPE, TYPE_ARG_TYPES, TYPE_ATTRIBUTES, TYPE_PTRMEMFUNC_P, VOID_TYPE_P, and warning.
Referenced by build_cdtor(), build_field_call(), build_function_call(), build_member_call(), build_module_descriptor(), build_new_1(), build_new_function_call(), build_objc_method_call(), build_object_call(), build_offset_ref_call_from_tree(), build_op_delete_call(), build_throw(), c_expand_builtin_fprintf(), c_expand_builtin_printf(), c_objc_common_finish_file(), c_parser_postfix_expression_after_primary(), do_allocate_exception(), do_begin_catch(), do_end_catch(), do_free_exception(), do_get_exception_ptr(), finish_call_expr(), finish_decl(), generate_ctor_or_dtor_function(), get_class_reference(), get_super_receiver(), register_dtor_fn(), and resolve_overloaded_builtin().
Definition at line 1187 of file c-typeck.c.
Definition at line 3896 of file c-typeck.c.
| tree build_stmt | ( | enum | tree_code, | |
| ... | ||||
| ) |
Definition at line 137 of file c-semantics.c.
References i, input_location, IS_NON_TYPE_CODE_CLASS, length, make_node, p, ret, SET_EXPR_LOCATION, TREE_CODE, TREE_CODE_CLASS, TREE_CODE_LENGTH, TREE_OPERAND, TREE_SIDE_EFFECTS, TREE_TYPE, TYPE_P, va_arg, va_end, va_start, and void_type_node.
Definition at line 2748 of file c-typeck.c.
References abort, addr(), array_to_pointer_conversion(), ba_check, base, BASELINK_FUNCTIONS, boolean_increment(), boolean_type_node, build(), build1, build2, build_address(), build_base_path(), build_binary_op(), build_expr_type_conversion(), build_indirect_ref(), build_modify_expr(), build_offset_ref(), build_pointer_type(), build_ptrmem_type(), build_ptrmemfunc(), build_ptrmemfunc_type(), build_unary_op(), byte_position(), c_build_type_variant, c_common_truthvalue_conversion(), c_mark_addressable(), c_objc_common_truthvalue_conversion(), c_size_in_bytes(), COMPLETE_OR_VOID_TYPE_P, complete_type(), COMPLEX_TYPE, context_for_name_lookup(), convert(), cp_build_binary_op, cp_convert(), CP_INTEGRAL_TYPE_P, CP_TYPE_CONST_P, current_class_ptr, current_class_ref, current_class_type, cxx_mark_addressable(), cxx_sizeof_nowarn, DECL_C_BIT_FIELD, DECL_CONTEXT, DECL_MAIN_P, DECL_NAME, DECL_P, DECL_STATIC_FUNCTION_P, decl_type_context(), default_conversion(), error(), error_mark_node, errstring, flag_ms_extensions, fold(), fold_build1, fold_build1_initializer(), fold_build2, fold_convert(), fold_if_not_in_template(), fold_initializer(), fold_offsetof(), gcc_assert, gcc_unreachable, get_base_address(), get_first_fn(), get_unwidened(), IDENTIFIER_OPNAME_P, IDENTIFIER_POINTER, integer_one_node, integer_zero_node, integer_zerop(), gcc_target::invalid_unary_op, invert_truthvalue(), lookup_base(), lv_addressof, lv_decrement, lv_increment, lvalue_or_else(), lvalue_p(), lvalue_type(), make_ptrmem_cst(), mark_used(), modify, non_cast_lvalue_or_else(), non_lvalue(), NULL, OVL_CURRENT, pedantic, pedantic_lvalue_warning(), pedwarn(), perform_implicit_conversion(), perform_integral_promotions(), processing_template_decl, PTRMEM_OK_P, readonly_error(), readonly_warning(), really_overloaded_fn(), REFERENCE_CLASS_P, require_constant_value, rvalue(), same_type_ignoring_top_level_qualifiers_p, same_type_p, save_expr(), stabilize_reference(), staticp, targetm, tmp, TREE_CODE, TREE_CODE_CLASS, TREE_CONSTANT, TREE_HAS_CONSTRUCTOR, TREE_IMAGPART, TREE_NO_UNUSED_WARNING, TREE_NO_WARNING, TREE_OPERAND, TREE_READONLY, TREE_REALPART, TREE_SIDE_EFFECTS, TREE_THIS_VOLATILE, TREE_TYPE, TREE_USED, TYPE_MAIN_VARIANT, TYPE_MODE, TYPE_PTROB_P, type_unknown_p(), unary_complex_lvalue(), unknown_type_node, unlowered_expr_type(), val, WANT_ARITH, WANT_ENUM, WANT_INT, WANT_POINTER, WANT_VECTOR, and warn_pointer_arith.
Referenced by add_objc_string(), array_to_pointer_conversion(), build_base_path(), build_category_initializer(), build_const_cast(), build_const_cast_1(), build_delete(), build_dispatch_table_initializer(), build_dynamic_cast_1(), build_method_call(), build_module_descriptor(), build_new_op(), build_objc_string_object(), build_offset_ref(), build_offset_ref_call_from_tree(), build_over_call(), build_protocol_expr(), build_protocol_initializer(), build_reinterpret_cast(), build_reinterpret_cast_1(), build_shared_structure_initializer(), build_this(), build_typed_selector_reference(), build_unary_op(), build_up_reference(), build_vbase_delete(), build_vec_delete(), build_vec_init(), build_vfn_ref(), build_vtable_entry_ref(), build_x_unary_op(), c_common_truthvalue_conversion(), c_finish_omp_atomic(), c_parser_postfix_expression_after_primary(), convert_like_real(), convert_nontype_argument(), convert_to_base_statically(), convert_to_reference(), cxx_maybe_build_cleanup(), decay_conversion(), default_function_array_conversion(), expand_tree_builtin(), expand_unordered_cmp(), finish_decl(), finish_for_cond(), finish_message_expr(), finish_while_stmt_cond(), function_to_pointer_conversion(), generate_protocol_list(), generate_protocols(), generate_shared_structures(), generate_static_references(), get_member_function_from_ptrfunc(), get_super_receiver(), get_tinfo_ptr(), GTY(), init_def_list(), init_module_descriptor(), init_objc_symtab(), initialize_handler_parm(), initialize_reference(), one_static_initialization_or_destruction(), parser_build_unary_op(), rationalize_conditional_expr(), register_dtor_fn(), resolve_address_of_overloaded_function(), resolve_offset_ref(), simplify_loop_decl_cond(), stabilize_expr(), start_static_initialization_or_destruction(), tinfo_base_init(), truthvalue_conversion(), and unary_complex_lvalue().
Definition at line 3760 of file c-common.c.
References build1.
Referenced by build_expr_from_tree(), build_x_va_arg(), and c_parser_postfix_expression().
Definition at line 7280 of file c-decl.c.
References build_tree_list, NULL_TREE, TREE_PARMLIST, and void_type_node.
Referenced by c_common_nodes_and_builtins(), and GTY().
| void builtin_define_with_value | ( | const char * | , | |
| const char * | , | |||
| int | ||||
| ) |
Definition at line 512 of file c-cppbuiltin.c.
References alloca, buf, cpp_define(), parse_in, sprintf(), and strlen().
Definition at line 3626 of file c-common.c.
References add_stmt(), build_case_label(), build_stmt(), CASE_HIGH, CASE_LABEL, check_case_bounds(), check_case_value(), convert_and_check(), create_artificial_label(), duplicate, error(), error_mark_node, splay_tree_node_s::key, node, NULL, NULL_TREE, pedantic, pedwarn(), POINTER_TYPE_P, splay_tree_s::root, splay_tree_insert(), splay_tree_lookup(), splay_tree_predecessor(), splay_tree_successor(), tree_int_cst_compare(), tree_int_cst_equal(), tree_int_cst_lt(), TREE_TYPE, splay_tree_node_s::value, and warning.
Definition at line 3155 of file c-common.c.
References BITS_PER_UNIT, build1, c_alignof, DECL_ALIGN, DECL_ALIGN_UNIT, DECL_C_BIT_FIELD, error(), fold(), fold_convert(), size_int, size_one_node, size_type_node, TREE_CODE, TREE_OPERAND, TREE_TYPE, and TYPE_ALIGN.
Referenced by build_expr_from_tree(), c_parser_alignof_expression(), and finish_alignof().
Definition at line 2977 of file c-common.c.
References C_TYPE_OBJECT_OR_INCOMPLETE_P, DECL_POINTER_ALIAS_SET, error(), error_mark_node, flag_strict_aliasing, POINTER_TYPE_P, TREE_CODE, TREE_READONLY, TREE_SIDE_EFFECTS, TREE_THIS_VOLATILE, TREE_TYPE, TYPE_NEEDS_CONSTRUCTING, TYPE_QUAL_CONST, TYPE_QUAL_RESTRICT, and TYPE_QUAL_VOLATILE.
Referenced by cp_apply_type_quals_to_decl(), grokclassfn(), grokdeclarator(), start_function(), and tsubst_decl().
Definition at line 172 of file c-gimplify.c.
References add_block_to_enclosing(), bind(), BLOCK, BLOCK_VARS, build3, build_empty_stmt(), DECL_ARTIFICIAL, decls, make_node, NULL_TREE, TREE_CODE, TREE_SIDE_EFFECTS, and void_type_node.
| tree c_build_bitfield_integer_type | ( | unsigned | HOST_WIDE_INT, | |
| int | ||||
| ) |
Definition at line 1886 of file c-common.c.
References build_nonstandard_integer_type(), integer_type_node, long_integer_type_node, long_long_integer_type_node, long_long_unsigned_type_node, long_unsigned_type_node, short_integer_type_node, short_unsigned_type_node, signed_char_type_node, TYPE_PRECISION, unsigned_char_type_node, and unsigned_type_node.
Definition at line 2948 of file c-common.c.
References attribute_list_equal(), build_array_type(), build_qualified_type(), build_variant_type_copy(), c_build_qualified_type(), C_TYPE_OBJECT_OR_INCOMPLETE_P, error(), error_mark_node, POINTER_TYPE_P, strip_array_types(), TREE_CODE, TREE_TYPE, TYPE_ATTRIBUTES, TYPE_CONTEXT, TYPE_DOMAIN, TYPE_MAIN_VARIANT, TYPE_NAME, TYPE_NEXT_VARIANT, TYPE_QUAL_RESTRICT, and TYPE_QUALS.
Referenced by build_component_ref(), c_build_qualified_type(), c_make_fname_decl(), common_pointer_type(), common_type(), complete_array_type(), composite_type(), default_function_array_conversion(), fix_string_type(), grokdeclarator(), and qualify_type().
Definition at line 1467 of file c-opts.c.
References cpp_finish(), cpp_options::deps, deps_append, deps_file, DEPS_NONE, errorcount, fatal_error(), fclose(), ferror(), fopen, NULL, out_fname, out_stream, parse_in, and cpp_options::style.
Referenced by cxx_finish().
| HOST_WIDE_INT c_common_get_alias_set | ( | tree | ) |
Definition at line 3008 of file c-common.c.
References build_type_no_quals(), c_common_signed_type(), char_type_node, get_alias_set(), lookup_attribute(), POINTER_TYPE_P, signed_char_type_node, t1, TREE_CODE, TREE_OPERAND, TREE_TYPE, TREE_UNSIGNED, TYPE_ATTRIBUTES, TYPE_P, and unsigned_char_type_node.
Referenced by cxx_get_alias_set().
| int c_common_handle_option | ( | size_t | code, | |
| const char * | arg, | |||
| int | value | |||
| ) |
Definition at line 250 of file c-opts.c.
References add_path(), add_prefixed_path(), AFTER, atoi(), BRACKET, c_common_print_pch_checksum(), c_dialect_cxx, CL_C, CL_CXX, cl_options, CLK_ASM, constant_string_class_name, cpp_get_options(), cpp_set_lang(), defer_opt(), cpp_options::deps, deps_file, deps_seen, DEPS_SYSTEM, DEPS_USER, disable_builtin_function(), cpp_options::discard_comments, cpp_options::discard_comments_in_macro_exp, cpp_options::dollars_in_ident, error(), exit_after_options, cpp_options::extended_identifiers, flag_access_control, flag_check_new, flag_cond_mismatch, flag_conserve_space, flag_const_strings, flag_default_inline, flag_detailed_statistics, flag_elide_constructors, flag_enforce_eh_specs, flag_exceptions, flag_gen_declaration, flag_hosted, flag_implement_inlines, flag_implicit_inline_templates, flag_implicit_templates, flag_ms_extensions, flag_new_for_scope, flag_next_runtime, flag_nil_receivers, flag_no_asm, flag_no_builtin, flag_no_gnu_keywords, flag_no_line_commands, flag_no_nonansi_builtin, flag_no_output, flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_optional_diags, flag_pch_preprocess, flag_permissive, flag_preprocess_only, flag_replace_objc_classes, flag_rtti, flag_short_double, flag_short_enums, flag_short_wchar, flag_signed_bitfields, flag_signed_char, flag_threadsafe_statics, flag_undef, flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr, flag_use_repository, flag_weak, flag_working_directory, flag_zero_link, flags, global_dc, handle_OPT_d(), imultilib, inform(), cpp_options::inhibit_warnings, visibility_flags::inlines_hidden, cpp_options::input_charset, iprefix, cpp_options::lang, lang_fortran, max_tinst_depth, mesg_implicit_function_declaration, cpp_options::missing_files, cpp_options::narrow_charset, normalized_C, normalized_identifier_C, normalized_KC, normalized_none, cpp_options::objc, cpp_options::operator_names, OPT_M, OPT_MD, OPT_MG, OPT_MM, OPT_MMD, cl_option::opt_text, out_fname, parse_in, pch_file, cpp_options::pedantic, cpp_options::pedantic_errors, cpp_options::phony_targets, cpp_options::preprocessed, preprocessing_asm_p, cpp_options::print_include_names, print_struct_values, QUOTE, quote_chain_split, cpp_options::remap, cpp_options::restore_pch_deps, result, set_std_c89(), set_std_c99(), set_std_cxx98(), set_Wformat(), set_Wimplicit(), set_Wunused(), cpp_options::show_column, split_quote_chain(), std_cxx_inc, std_inc, strcasecmp(), strcmp(), cpp_options::style, sysroot, SYSTEM, cpp_options::tabstop, TARGET_OPTF, cpp_options::traditional, cpp_options::trigraphs, verbose, visibility_options, warn_char_subscripts, cpp_options::warn_comments, cpp_options::warn_deprecated, warn_div_by_zero, warn_ecpp, cpp_options::warn_endif_labels, cpp_options::warn_invalid_pch, warn_main, warn_missing_braces, cpp_options::warn_missing_include_dirs, cpp_options::warn_multichar, warn_nontemplate_friend, warn_nonvdtor, cpp_options::warn_normalize, cpp_options::warn_num_sign_change, warn_parentheses, warn_reorder, warn_return_type, warn_sequence_point, warn_sign_compare, warn_strict_aliasing, warn_strict_null_sentinel, warn_strict_overflow, warn_switch, cpp_options::warn_system_headers, cpp_options::warn_traditional, cpp_options::warn_trigraphs, cpp_options::warn_undef, warn_uninitialized, warn_unknown_pragmas, warn_unused_macros, warn_variadic_macros, warn_write_strings, warning, diagnostic_context::warning_as_error_requested, cpp_options::warnings_are_errors, cpp_options::wide_charset, and xstrdup().
Definition at line 1059 of file c-opts.c.
References BYTES_BIG_ENDIAN, cpp_options::bytes_big_endian, c_common_print_pch_checksum(), cpp_options::char_precision, char_type_node, cpp_init_iconv(), finish_options(), flag_preprocess_only, init_pragma(), cpp_options::int_precision, integer_type_node, intmax_type_node, parse_in, cpp_options::precision, preprocess_file(), TYPE_PRECISION, TYPE_UNSIGNED, cpp_options::unsigned_wchar, version_flag, cpp_options::wchar_precision, and wchar_type_node.
| unsigned int c_common_init_options | ( | unsigned | int, | |
| const char ** | ||||
| ) |
Definition at line 194 of file c-opts.c.
References c_dialect_cxx, c_dialect_objc, c_language, CL_C, CL_CXX, clk_c, CLK_GNUC89, CLK_GNUCXX, cpp_create_reader(), cpp_get_options(), deferred_opts, diagnostic_line_cutoff, diagnostic_prefixing_rule, DIAGNOSTICS_SHOW_PREFIX_ONCE, cpp_options::dollars_in_ident, DOLLARS_IN_IDENTIFIERS, flag_const_strings, flag_exceptions, global_dc, i, ident_hash, line_table, cpp_options::objc, parse_in, result, strcmp(), cpp_options::warn_dollars, warn_pointer_arith, warn_write_strings, and XNEWVEC.
Definition at line 459 of file c-pch.c.
References cpp_get_callbacks(), NULL, parse_in, and cpp_callbacks::valid_pch.
Definition at line 3115 of file c-common.c.
References build_array_type(), build_common_builtin_nodes(), build_common_tree_nodes_2(), build_decl, build_function_type(), build_index_type(), build_pointer_type(), build_qualified_type(), build_reference_type(), build_variant_type_copy(), build_void_list_node(), builtin_types, c_common_signed_type(), c_common_type_for_size(), c_common_unsigned_type(), c_dialect_cxx, c_init_attributes(), char_array_type_node, char_type_node, complex_double_type_node, complex_float_type_node, complex_integer_type_node, complex_long_double_type_node, const_string_type_node, default_function_type, dfloat128_type_node, dfloat32_type_node, dfloat64_type_node, double_type_node, fileptr_type_node, flag_short_double, float_type_node, get_identifier(), HOST_BITS_PER_WIDE_INT, identifier_global_value(), gcc_target::init_builtins, int, int_array_type_node, intDI_type_node, integer_type_node, intHI_type_node, INTMAX_TYPE, intmax_type_node, intQI_type_node, intSI_type_node, intTI_type_node, long_double_type_node, long_integer_type_node, long_long_integer_type_node, long_long_unsigned_type_node, long_unsigned_type_node, main_identifier_node, make_node, make_signed_type(), make_unsigned_type(), memset, MODIFIED_WCHAR_TYPE, mudflap_init(), NULL, null_node, NULL_TREE, PID_TYPE, pid_type_node, POINTER_SIZE, ptr_type_node, PTRDIFF_TYPE, ptrdiff_type_node, record_builtin_type(), RID_CHAR, RID_DFLOAT128, RID_DFLOAT32, RID_DFLOAT64, RID_DOUBLE, RID_FLOAT, RID_INT, RID_LONG, RID_MAX, RID_SHORT, RID_SIGNED, RID_UNSIGNED, RID_VOID, RID_WCHAR, gcc_target::scalar_mode_supported_p, set_sizetype(), short_integer_type_node, short_unsigned_type_node, signed_char_type_node, signed_size_type_node, signed_wchar_type_node, size_int, SIZE_TYPE, size_type_node, string_type_node, targetm, TREE_CODE, TREE_TYPE, TYPE_PRECISION, TYPE_QUAL_CONST, TYPE_UNSIGNED, UINTMAX_TYPE, uintmax_type_node, unsigned_char_type_node, unsigned_intDI_type_node, unsigned_intHI_type_node, unsigned_intQI_type_node, unsigned_intSI_type_node, unsigned_intTI_type_node, unsigned_ptrdiff_type_node, unsigned_type_node, unsigned_wchar_type_node, va_list_arg_type_node, va_list_ref_type_node, va_list_type_node, void_list_node, void_type_node, void_zero_node, wchar_array_type_node, wchar_type_node, widest_integer_literal_type_node, widest_unsigned_literal_type_node, WINT_TYPE, and wint_type_node.
| void c_common_parse_file | ( | int | ) |
Definition at line 1090 of file c-opts.c.
References c_parse_file(), cpp_read_main_file(), cpp_undef_all(), debug_hooks, gcc_debug_hooks::end_source_file, finish_file(), finish_options(), i, in_fnames, num_in_fnames, parse_in, pch_init(), pop_file_scope(), push_file_scope(), gcc_debug_hooks::start_end_main_source_file, gcc_debug_hooks::start_source_file, this_input_filename, warning, and yydebug.
| void c_common_pch_pragma | ( | cpp_reader * | pfile, | |
| const char * | ||||
| ) |
Definition at line 444 of file c-pch.c.
References c_common_read_pch(), c_common_valid_pch(), close, cpp_get_options(), error(), fatal_error(), fd, inform(), O_BINARY, O_RDONLY, and open.
| bool c_common_post_options | ( | const char ** | ) |
Definition at line 928 of file c-opts.c.
References C_COMMON_OVERRIDE_OPTIONS, c_dialect_cxx, cb_dir_change(), cb_file_change(), check_deps_environment_vars(), cpp_errors(), cpp_get_callbacks(), cpp_post_options(), cpp_read_main_file(), cpp_options::deps, DEPS_NONE, cpp_callbacks::dir_change, error(), errorcount, extra_warnings, fatal_error(), cpp_callbacks::file_change, flag_complex_method, flag_exceptions, flag_inline_functions, flag_inline_trees, flag_isoc99, flag_next_runtime, flag_no_inline, flag_no_line_commands, flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_preprocess_only, flag_working_directory, fopen, get_src_pwd(), handle_deferred_opts(), imultilib, in_fnames, init_c_lex(), init_pp_output(), input_location, iprefix, NULL, num_in_fnames, out_fname, out_stream, parse_in, pp_dir_change(), progname, register_include_chains(), sanitize_cpp_opts(), std_cxx_inc, std_inc, strcmp(), cpp_options::style, sysroot, this_input_filename, UNKNOWN_LOCATION, verbose, warn_format, warn_format_extra_args, warn_format_nonliteral, warn_format_security, warn_format_y2k, warn_format_zero_length, warn_missing_format_attribute, warn_sign_compare, warning, and XNEWVEC.
Definition at line 474 of file c-pch.c.
References executable_checksum, fprintf(), fputs(), i, and putc().
Referenced by c_common_handle_option(), c_common_init(), and pch_init().
| void c_common_read_pch | ( | cpp_reader * | pfile, | |
| const char * | name, | |||
| int | fd, | |||
| const char * | orig | |||
| ) |
Definition at line 2184 of file c-common.c.
References build_nonstandard_integer_type(), c_dialect_cxx, intDI_type_node, integer_type_node, INTEGRAL_TYPE_P, intHI_type_node, intQI_type_node, intSI_type_node, intTI_type_node, long_integer_type_node, long_long_integer_type_node, long_long_unsigned_type_node, long_unsigned_type_node, short_integer_type_node, short_unsigned_type_node, signed_char_type_node, TREE_UNSIGNED, TYPE_OK, TYPE_PRECISION, TYPE_UNSIGNED, unsigned_char_type_node, unsigned_intDI_type_node, unsigned_intHI_type_node, unsigned_intQI_type_node, unsigned_intSI_type_node, unsigned_intTI_type_node, unsigned_type_node, widest_integer_literal_type_node, and widest_unsigned_literal_type_node.
Referenced by build_binary_op(), c_common_signed_type(), c_common_unsigned_type(), shorten_compare(), and write_integer_cst().
Definition at line 2148 of file c-common.c.
References c_common_signed_or_unsigned_type(), char_type_node, intDI_type_node, integer_type_node, intHI_type_node, intQI_type_node, intSI_type_node, intTI_type_node, long_integer_type_node, long_long_integer_type_node, long_long_unsigned_type_node, long_unsigned_type_node, short_integer_type_node, short_unsigned_type_node, signed_char_type_node, TYPE_MAIN_VARIANT, unsigned_char_type_node, unsigned_intDI_type_node, unsigned_intHI_type_node, unsigned_intQI_type_node, unsigned_intSI_type_node, unsigned_intTI_type_node, unsigned_type_node, widest_integer_literal_type_node, and widest_unsigned_literal_type_node.
Referenced by build_binary_op(), c_common_get_alias_set(), c_common_nodes_and_builtins(), check_format_types(), grokdeclarator(), GTY(), shorten_compare(), and unsigned_conversion_warning().
| HOST_WIDE_INT c_common_to_target_charset | ( | HOST_WIDE_INT | ) |
Definition at line 5811 of file c-common.c.
References CHAR_BIT, CHAR_TYPE_SIZE, cpp_host_to_exec_charset(), flag_signed_char, HOST_BITS_PER_WIDE_INT, and HOST_WIDE_INT.
Definition at line 2771 of file c-common.c.
References boolean_false_node, boolean_true_node, boolean_type_node, build(), build1, build2, build3, build_binary_op(), build_unary_op(), c_common_truthvalue_conversion(), C_EXP_ORIGINAL_CODE, COMPLEX_TYPE, dconst0, DECL_EXTERNAL, DECL_P, DECL_WEAK, error(), fold(), fold_build3, HONOR_INFINITIES, integer_onep(), integer_zero_node, integer_zerop(), real_compare(), real_zerop(), save_expr(), TREE_CODE, TREE_CONSTANT_OVERFLOW, TREE_INT_CST_HIGH, TREE_INT_CST_LOW, TREE_NO_WARNING, TREE_OPERAND, TREE_REAL_CST, TREE_SIDE_EFFECTS, TREE_TYPE, truthvalue_false_node, truthvalue_true_node, truthvalue_type_node, TYPE_MODE, TYPE_PRECISION, warn_parentheses, and warning.
Referenced by build_binary_op(), build_conditional_expr(), build_dynamic_cast_1(), build_unary_op(), c_common_truthvalue_conversion(), c_objc_common_truthvalue_conversion(), convert(), cp_truthvalue_conversion(), expand_cleanup_for_base(), and Push_Temp_Cleanup().
| tree c_common_type_for_mode | ( | enum | machine_mode, | |
| int | ||||
| ) |
Definition at line 2021 of file c-common.c.
References build_pointer_type(), char_type_node, double_type_node, float_type_node, intDI_type_node, integer_type_node, intHI_type_node, intQI_type_node, intSI_type_node, intTI_type_node, long_double_type_node, long_integer_type_node, long_long_integer_type_node, long_long_unsigned_type_node, long_unsigned_type_node, short_integer_type_node, short_unsigned_type_node, signed_char_type_node, TYPE_MODE, unsigned_char_type_node, unsigned_intDI_type_node, unsigned_intHI_type_node, unsigned_intQI_type_node, unsigned_intSI_type_node, unsigned_intTI_type_node, unsigned_type_node, unsigned_V16QI_type_node, unsigned_V1DI_type_node, unsigned_V2DI_type_node, unsigned_V2HI_type_node, unsigned_V2SI_type_node, unsigned_V4HI_type_node, unsigned_V4SI_type_node, unsigned_V8HI_type_node, unsigned_V8QI_type_node, V16QI_type_node, V16SF_type_node, V1DI_type_node, V2DF_type_node, V2DI_type_node, V2HI_type_node, V2SF_type_node, V2SI_type_node, V4HI_type_node, V4SF_type_node, V4SI_type_node, V8HI_type_node, V8QI_type_node, widest_integer_literal_type_node, and widest_unsigned_literal_type_node.
Referenced by dump_type(), GTY(), pp_c_type_specifier(), and write_builtin_type().
| tree c_common_type_for_size | ( | unsigned | int, | |
| int | ||||
| ) |
Definition at line 1516 of file c-common.c.
References intDI_type_node, integer_type_node, intHI_type_node, intQI_type_node, intSI_type_node, long_integer_type_node, long_long_integer_type_node, long_long_unsigned_type_node, long_unsigned_type_node, short_integer_type_node, short_unsigned_type_node, signed_char_type_node, TYPE_PRECISION, unsigned_char_type_node, unsigned_intDI_type_node, unsigned_intHI_type_node, unsigned_intQI_type_node, unsigned_intSI_type_node, unsigned_type_node, widest_integer_literal_type_node, and widest_unsigned_literal_type_node.
Definition at line 2113 of file c-common.c.
References c_common_signed_or_unsigned_type(), char_type_node, intDI_type_node, integer_type_node, intHI_type_node, intQI_type_node, intSI_type_node, intTI_type_node, long_integer_type_node, long_long_integer_type_node, long_long_unsigned_type_node, long_unsigned_type_node, short_integer_type_node, short_unsigned_type_node, signed_char_type_node, TYPE_MAIN_VARIANT, unsigned_char_type_node, unsigned_intDI_type_node, unsigned_intHI_type_node, unsigned_intQI_type_node, unsigned_intSI_type_node, unsigned_intTI_type_node, unsigned_type_node, widest_integer_literal_type_node, and widest_unsigned_literal_type_node.
Referenced by c_common_nodes_and_builtins(), check_format_types(), convert_and_check(), convert_for_assignment(), grokdeclarator(), GTY(), and shorten_compare().
| int c_common_valid_pch | ( | cpp_reader * | pfile, | |
| const char * | name, | |||
| int | fd | |||
| ) |
Definition at line 233 of file c-pch.c.
References CPP_DL_WARNING, cpp_error(), cpp_get_options(), cpp_valid_state(), c_pch_validity::debug_info_type, debug_type_names, executable_checksum, fatal_error(), free(), gcc_assert, get_ident(), host_machine, c_pch_validity::host_machine_length, i, ident, IDENT_LENGTH, c_pch_validity::match, MATCH_SIZE, memcmp, msg, no_checksum, NO_DEBUG, NULL, c_pch_validity::pch_init, pch_init(), pch_matching, gcc_target::pch_valid_p, read, result, strlen(), c_pch_validity::target_data_length, target_machine, c_pch_validity::target_machine_length, targetm, c_pch_validity::version_length, version_string, cpp_options::warn_invalid_pch, write_symbols, and xmalloc().
Definition at line 178 of file c-pch.c.
References asm_file_end(), asm_file_name, asm_file_startpos, asm_out_file, c_pch_header::asm_size, buf, cpp_write_pch_deps(), cpp_write_pch_state(), debug_hooks, fatal_error(), fclose(), fread, free(), fseek, ftell(), fwrite, get_ident(), gt_pch_save(), h, gcc_debug_hooks::handle_pch, IDENT_LENGTH, parse_in, pch_file, pch_outfile, SEEK_END, SEEK_SET, size, xmalloc(), and XNEWVEC.
| void c_cpp_builtins | ( | cpp_reader * | ) |
Definition at line 318 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.
Definition at line 4844 of file c-common.c.
References DECL_ATTRIBUTES, DECL_VISIBILITY, DECL_VISIBILITY_SPECIFIED, default_visibility, gcc_assert, visibility_flags::inpragma, lookup_attribute(), TARGET_DLLIMPORT_DECL_ATTRIBUTES, TREE_CODE, VISIBILITY_DEFAULT, and visibility_options.
Referenced by determine_visibility(), finish_decl(), and finish_function().
| void c_do_switch_warnings | ( | splay_tree | , | |
| location_t | , | |||
| tree | , | |||
| tree | ||||
| ) |
Definition at line 3869 of file c-common.c.
References CASE_HIGH, CASE_HIGH_SEEN, CASE_LOW_SEEN, match_case_to_enum(), node, NULL, NULL_TREE, splay_tree_foreach(), splay_tree_lookup(), splay_tree_predecessor(), TREE_CHAIN, TREE_CODE, tree_int_cst_compare(), TREE_PURPOSE, TREE_VALUE, TYPE_VALUES, splay_tree_node_s::value, warn_switch, warn_switch_default, warn_switch_enum, and warning.
Definition at line 51 of file c-dump.c.
References ASM_CLOBBERS, ASM_INPUTS, ASM_OUTPUTS, ASM_STRING, ASM_VOLATILE_P, CASE_HIGH, CASE_LABEL, CASE_LOW, CLEANUP_DECL, CLEANUP_EXPR, COMPOUND_BODY, DECL_C_BIT_FIELD, DECL_STMT_DECL, di, DO_BODY, DO_COND, dump_child, dump_next_stmt(), dump_stmt(), dump_string(), ELSE_CLAUSE, EXPR_STMT_EXPR, FOR_BODY, FOR_COND, FOR_EXPR, FOR_INIT_STMT, GOTO_DESTINATION, IF_COND, LABEL_STMT_LABEL, RETURN_STMT_EXPR, SCOPE_BEGIN_P, SCOPE_NO_CLEANUPS_P, SCOPE_NULLIFIED_P, STMT_EXPR_STMT, SWITCH_BODY, SWITCH_COND, SWITCH_STMT_BODY, SWITCH_STMT_COND, THEN_CLAUSE, TREE_CODE, WHILE_BODY, and WHILE_COND.
Referenced by cp_dump_tree().
| int c_expand_decl | ( | tree | ) |
Definition at line 771 of file c-common.c.
Definition at line 3976 of file c-common.c.
References COMPOUND_LITERAL_EXPR_DECL, emit_local_var(), expand_expr_real(), gcc_unreachable, and TREE_CODE.
Definition at line 91 of file c-omp.c.
References addr(), build2, build4, build_indirect_ref(), build_modify_expr(), build_unary_op(), create_tmp_var_raw(), error(), error_mark_node, gcc_assert, INTEGRAL_TYPE_P, NULL, POINTER_TYPE_P, save_expr(), SCALAR_FLOAT_TYPE_P, TREE_CODE, TREE_OPERAND, TREE_TYPE, void_type_node, and x.
Referenced by c_parser_omp_atomic(), and finish_omp_atomic().
Definition at line 74 of file c-omp.c.
References add_stmt(), build_function_call_expr(), built_in_decls, NULL, and x.
Referenced by c_parser_omp_barrier().
Definition at line 52 of file c-omp.c.
References add_stmt(), make_node, OMP_CRITICAL_BODY, OMP_CRITICAL_NAME, TREE_TYPE, and void_type_node.
Referenced by c_parser_omp_critical(), and cp_parser_omp_critical().
Definition at line 148 of file c-omp.c.
References add_stmt(), build_function_call_expr(), built_in_decls, NULL, and x.
Referenced by c_parser_omp_flush().
Definition at line 207 of file c-omp.c.
References add_stmt(), build2, build_modify_expr(), check_omp_for_incr_expr(), DECL_INITIAL, DECL_SOURCE_LOCATION, error(), error_mark_node, EXPR_HAS_LOCATION, EXPR_LOCATION, fail, fold_build1, gcc_assert, integer_zero_node, INTEGRAL_TYPE_P, make_node, NULL, NULL_TREE, OMP_FOR_BODY, OMP_FOR_COND, OMP_FOR_INCR, OMP_FOR_INIT, OMP_FOR_PRE_BODY, SET_EXPR_LOCATION, swap_tree_comparison(), TREE_CODE, TREE_OPERAND, TREE_SET_CODE, TREE_TYPE, TYPE_UNSIGNED, void_type_node, and warning.
Referenced by c_parser_omp_for_loop(), and finish_omp_for().
Definition at line 42 of file c-omp.c.
References add_stmt(), build1, and void_type_node.
Referenced by c_parser_omp_master(), and cp_parser_omp_master().
Definition at line 65 of file c-omp.c.
References add_stmt(), build1, and void_type_node.
Referenced by c_parser_omp_ordered(), and cp_parser_omp_ordered().
Definition at line 107 of file c-gimplify.c.
References c_genericize(), cgraph_node(), DECL_ASSEMBLER_NAME, DECL_SAVED_TREE, dump_begin(), dump_end(), dump_file, dump_flag_name(), dump_function(), dump_node(), fprintf(), gimplify_function_tree(), IDENTIFIER_POINTER, pop_context(), print_c_tree(), push_context(), TDF_RAW, TDF_SLIM, TDI_generic, and TDI_original.
| enum omp_clause_default_kind c_omp_predetermined_sharing | ( | tree | ) |
Definition at line 455 of file c-omp.c.
References OMP_CLAUSE_DEFAULT_SHARED, OMP_CLAUSE_DEFAULT_UNSPECIFIED, and TREE_READONLY.
Referenced by c_finish_omp_clauses(), and cxx_omp_predetermined_sharing().
Definition at line 5684 of file c-common.c.
References catenate_messages, cpp_type2name(), error(), free(), IDENTIFIER_POINTER, ISGRAPH, N_TTYPES, NULL, TREE_INT_CST_LOW, UCHAR_MAX, and val.
Referenced by c_parser_error(), and cp_parser_error().
Definition at line 7848 of file c-parser.c.
References c_parser, c_parser_peek_token(), c_parser_pragma_pch_preprocess(), c_parser_translation_unit(), cp_parser_new(), cp_parser_translation_unit(), dk_no_check, dk_no_deferred, flag_access_control, GGC_NEW, memset, NULL, PRAGMA_GCC_PCH_PREPROCESS, push_deferring_access_checks(), and sorry().
Definition at line 3865 of file c-common.c.
References char_type_node, integer_type_node, short_integer_type_node, short_unsigned_type_node, signed_char_type_node, TREE_CODE, TYPE_MAIN_VARIANT, TYPE_PRECISION, and unsigned_char_type_node.
Referenced by c_type_promotes_to(), default_conversion(), perform_integral_promotions(), self_promoting_args_p(), start_function(), start_preparsed_function(), and type_promotes_to().
Definition at line 1786 of file c-common.c.
References build_decl, DECL_ARTIFICIAL, get_identifier(), pushdecl(), tree_cons, and TYPE_NAME.
Definition at line 2901 of file c-common.c.
References BITS_PER_UNIT, char_type_node, COMPLETE_TYPE_P, error(), fold_convert(), FUNCTION_BOUNDARY, gcc_assert, NULL, op_name, pedantic, pedwarn(), size_binop(), size_int, size_one_node, size_type_node, size_zero_node, TREE_CODE, TREE_TYPE, TYPE_ALIGN_UNIT, TYPE_IS_SIZETYPE, TYPE_PRECISION, TYPE_SIZE_UNIT, and warn_pointer_arith.
Definition at line 392 of file c-omp.c.
References build_omp_clause(), gcc_unreachable, lang_cplus, next, NULL, OMP_CLAUSE_CHAIN, OMP_CLAUSE_CODE, OMP_CLAUSE_COPYIN, OMP_CLAUSE_DECL, OMP_CLAUSE_DEFAULT, OMP_CLAUSE_FIRSTPRIVATE, OMP_CLAUSE_IF, OMP_CLAUSE_LASTPRIVATE, OMP_CLAUSE_NOWAIT, OMP_CLAUSE_NUM_THREADS, OMP_CLAUSE_ORDERED, OMP_CLAUSE_PRIVATE, OMP_CLAUSE_REDUCTION, OMP_CLAUSE_SCHEDULE, and OMP_CLAUSE_SHARED.
Referenced by c_parser_omp_parallel(), and cp_parser_omp_parallel().
Definition at line 4572 of file c-common.c.
References COMPOUND_LITERAL_EXPR_DECL, NULL, TREE_CODE, and TREE_STATIC.
Definition at line 4049 of file c-common.c.
References builtin_define_with_value(), INTMAX_TYPE, MODIFIED_WCHAR_TYPE, PTRDIFF_TYPE, SIZE_TYPE, UINTMAX_TYPE, and WINT_TYPE.
Referenced by c_cpp_builtins().
Definition at line 5739 of file c-common.c.
References BIND_EXPR_BODY, c_warn_unused_result(), CATCH_BODY, COND_EXPR_ELSE, COND_EXPR_THEN, EH_FILTER_FAILURE, EXPR_LOCUS, get_callee_fndecl(), i, lookup_attribute(), TREE_CODE, TREE_OPERAND, TREE_TYPE, TREE_USED, tsi_end_p(), tsi_next(), tsi_start(), tsi_stmt_ptr(), TYPE_ATTRIBUTES, and warning.
Referenced by c_gimple_diagnostics_recursively(), c_warn_unused_result(), c_warn_unused_result_recursively(), and finish_function().
| int case_compare | ( | splay_tree_key | , | |
| splay_tree_key | ||||
| ) |
Definition at line 4204 of file c-common.c.
References tree_int_cst_compare().
Referenced by c_start_case(), and push_switch().
Definition at line 5496 of file c-common.c.
References check_function_format(), check_function_nonnull(), check_function_sentinel(), warn_format, warn_missing_format_attribute, and warn_nonnull.
| void check_function_arguments_recurse | ( | void(*)(void *, tree, unsigned HOST_WIDE_INT) | , | |
| void * | , | |||
| tree | , | |||
| unsigned | HOST_WIDE_INT | |||
| ) |
Definition at line 5517 of file c-common.c.
References callback(), check_function_arguments_recurse(), gcc_assert, i, is_attribute_p(), TREE_CHAIN, TREE_CODE, TREE_INT_CST_HIGH, TREE_INT_CST_LOW, TREE_OPERAND, TREE_PURPOSE, TREE_TYPE, TREE_VALUE, TYPE_ATTRIBUTES, and TYPE_PRECISION.
Definition at line 797 of file c-format.c.
References a, args, c, char_type_node, check_format_info(), current_function_decl, DECL_ARGUMENTS, decode_format_attr(), decode_format_type(), function_format_info::first_arg_num, format_kind_info::flags, FMT_FLAG_ARG_CONVERT, function_format_info::format_type, IDENTIFIER_POINTER, info, is_attribute_p(), format_kind_info::name, NULL_TREE, TREE_CHAIN, TREE_CODE, TREE_PURPOSE, TREE_TYPE, TREE_VALUE, TYPE_ATTRIBUTES, TYPE_MAIN_VARIANT, warn_format, warn_missing_format_attribute, and warning.
Definition at line 6451 of file c-common.c.
References is_attribute_p(), TREE_CHAIN, TREE_PURPOSE, TREE_TYPE, and TYPE_ATTRIBUTES.
Referenced by convert_for_arg_passing(), and convert_for_assignment().
Definition at line 222 of file c-typeck.c.
References abort, ARITHMETIC_TYPE_P, attributes, boolean_type_node, build_array_type(), build_complex_type(), build_function_type(), build_pointer_type(), build_type_attribute_variant(), c_build_qualified_type(), c_common_type(), c_common_type_for_size(), common_type(), COMPLEX_TYPE, composite_pointer_type(), comptypes(), declare_parm_level(), error_mark_node, gcc_unreachable, i, len, list_length(), long_double_type_node, long_integer_type_node, long_unsigned_type_node, gcc_target::merge_type_attributes, n, NULL_TREE, p1, p2, pedantic, pedwarn(), poplevel(), pushlevel(), target, targetm, TREE_CHAIN, TREE_CODE, tree_cons, TREE_TYPE, TREE_UNSIGNED, TREE_VALUE, type_after_usual_arithmetic_conversions(), TYPE_ARG_TYPES, TYPE_DOMAIN, TYPE_FIELDS, TYPE_MAIN_VARIANT, TYPE_PRECISION, TYPE_PTR_P, TYPE_PTRMEM_P, TYPE_PTRMEMFUNC_P, and TYPE_QUALS.
Referenced by build_binary_op(), build_conditional_expr(), common_type(), duplicate_decls(), expand_unordered_cmp(), get_computation_aff(), and shorten_compare().
Definition at line 5935 of file c-common.c.
References build_distinct_type_copy(), build_index_type(), c_build_qualified_type(), constructor_elt, CONSTRUCTOR_ELTS, error_mark_node, failure, fold_convert(), HOST_WIDE_INT, index(), int_size_in_bytes(), integer_minus_one_node, layout_type(), NULL, pedantic, size_binop(), size_int, size_one_node, size_zero_node, sizetype, strip_array_types(), TREE_CHAIN, TREE_CODE, tree_int_cst_lt(), TREE_PURPOSE, TREE_STRING_LENGTH, TREE_TYPE, TYPE_DOMAIN, TYPE_MAIN_VARIANT, TYPE_QUALS, TYPE_UNQUALIFIED, VEC, VEC_empty, VEC_index, and VEC_iterate.
Definition at line 1373 of file c-common.c.
References pedantic, pedwarn(), TREE_CODE, and TREE_CONSTANT_OVERFLOW.
Referenced by build_enumerator(), check_bitfield_type_and_width(), check_case_value(), compute_array_index_type(), finish_decl(), finish_struct(), grokbitfield(), grokdeclarator(), layout_var_decl(), and store_init_value().
Definition at line 1464 of file c-common.c.
References c_common_unsigned_type(), CONSTANT_CLASS_P, constant_fits_type_p(), convert(), pedantic, skip_evaluation, TREE_CODE, TREE_CONSTANT_OVERFLOW, TREE_OVERFLOW, TREE_TYPE, TREE_UNSIGNED, TYPE_PRECISION, TYPE_UNSIGNED, unsigned_conversion_warning(), and warning.
Referenced by build_binary_op(), build_conditional_expr(), build_ptrmemfunc1(), c_add_case_label(), convert_for_assignment(), and convert_like_real().
Definition at line 7191 of file c-decl.c.
References cfun, and scope_chain.
Referenced by build_aggr_init(), build_vec_init(), check_initializer(), cp_gimplify_expr(), cxx_push_function_context(), expand_stmt(), initialize_local_var(), prep_stmt(), stmts_are_full_exprs_p(), and tsubst_expr().
Definition at line 774 of file c-typeck.c.
References constant_value_1(), CP_TYPE_CONST_NON_VOLATILE_P, current_function_decl, DECL_INITIAL, error_mark_node, processing_template_decl, TREE_CODE, TREE_CONSTANT, TREE_READONLY, TREE_READONLY_DECL_P, TREE_THIS_VOLATILE, and TREE_TYPE.
Referenced by build_c_cast(), build_compound_expr(), build_enumerator(), build_reinterpret_cast(), check_bitfield_decl(), check_case_value(), check_format_arg(), compute_array_index_type(), convert(), convert_like_real(), convert_nontype_argument(), decay_conversion(), decl_constant_value_for_broken_optimization(), grokfield(), initialize_inlined_parameters(), ocp_convert(), tsubst(), and unify().
Definition at line 921 of file c-typeck.c.
References c_common_type_for_size(), C_EXP_ORIGINAL_CODE, c_promoting_integer_type_p(), C_SET_EXP_ORIGINAL_CODE, compare_tree_int(), convert(), cp_convert(), decay_conversion(), DECL_C_BIT_FIELD, decl_constant_value_for_broken_optimization(), DECL_INITIAL, DECL_SIZE, default_function_array_conversion(), error(), error_mark_node, gcc_assert, integer_type_node, INTEGRAL_CODE_P, INTEGRAL_OR_ENUMERATION_TYPE_P, INTEGRAL_TYPE_P, IS_EXPR_CODE_CLASS, MAX, optimize, perform_integral_promotions(), STRIP_TYPE_NOPS, TREE_CODE, TREE_CODE_CLASS, TREE_NO_WARNING, TREE_OPERAND, TREE_TYPE, TREE_UNSIGNED, TYPE_PRECISION, type_promotes_to(), TYPE_UNSIGNED, and unsigned_type_node.
Referenced by altivec_resolve_overloaded_builtin(), build_addr_func(), build_array_ref(), build_binary_op(), build_c_cast(), build_conditional_expr(), build_enumerator(), build_expr_type_conversion(), build_function_call(), build_indirect_ref(), build_method_call(), build_modify_expr(), build_shared_structure_initializer(), build_unary_op(), build_vec_init(), build_x_arrow(), c_convert_parm_for_inlining(), c_expand_expr_stmt(), c_objc_common_truthvalue_conversion(), c_parser_binary_expression(), c_parser_conditional_expression(), c_process_expr_stmt(), c_start_case(), check_case_value(), convert_arg_to_ellipsis(), convert_arguments(), convert_for_arg_passing(), convert_for_assignment(), convert_for_initialization(), default_function_array_conversion(), finish_expr_stmt(), finish_switch_cond(), get_atexit_node(), grok_reference_init(), and output_init_element().
| void disable_builtin_function | ( | const char * | ) |
Definition at line 3453 of file c-common.c.
References error(), disabled_builtin::name, disabled_builtin::next, strlen(), strncmp(), and XNEW.
Definition at line 7284 of file c-typeck.c.
References c_switch::blocked_stmt_expr, c_switch::blocked_vm, c_add_case_label(), c_switch::cases, error(), error_mark_node, NULL_TREE, c_switch::orig_type, SWITCH_COND, c_switch::switch_expr, c_switch::switch_stmt, and SWITCH_STMT_COND.
Referenced by c_parser_label().
Definition at line 222 of file c-lex.c.
References body_time, dump_one_header(), fprintf(), get_fileinfo(), get_run_time(), header_time, input_filename, print_time(), splay_tree_foreach(), and c_fileinfo::time.
Referenced by cp_finish_file(), and finish_file().
Definition at line 273 of file c-semantics.c.
References DECL_ASSEMBLER_NAME, DECL_C_HARD_REGISTER, DECL_HARD_REGISTER, DECL_RTL_SET_P, expand_decl(), expand_decl_init(), expand_end_target_temps(), expand_start_target_temps(), IDENTIFIER_POINTER, rest_of_decl_compilation(), and stmts_are_full_exprs_p().
Referenced by c_expand_decl(), c_expand_expr(), genrtl_decl_stmt(), and genrtl_named_return_value().
Definition at line 1024 of file c-common.c.
References EXPR_LOCUS, extra_warnings, IS_EMPTY_STMT, STATEMENT_LIST_TAIL, TREE_CODE, and warning.
Referenced by c_finish_if_stmt(), and finish_if_stmt().
Definition at line 219 of file c-lex.c.
References c_header_level, debug_hooks, gcc_debug_hooks::end_source_file, in_system_header, input_filename, input_line, input_location, LAST_SOURCE_LINE, LAST_SOURCE_LINE_LOCATION, LC_ENTER, LC_LEAVE, MAIN_FILE_P, NULL, pending_lang_change, pop_srcloc(), push_srcloc(), line_map::start_location, gcc_debug_hooks::start_source_file, line_map::sysp, line_map::to_file, line_map::to_line, update_header_times(), and warning.
Definition at line 223 of file c-lang.c.
References back_end_hook, c_objc_common_finish_file(), check_global_declarations(), cp_finish_file(), cp_warning_at(), current_class_type, DECL_ARTIFICIAL, DECL_DECLARED_INLINE_P, DECL_EXPLICIT_INSTANTIATION, DECL_EXTERNAL, DECL_IN_AGGR_P, DECL_INITIAL, DECL_INLINE, decl_namespace_list, DECL_NEEDED_P, DECL_NOT_REALLY_EXTERN, DECL_REALLY_EXTERN, DECL_SAVED_TREE, DEFAULT_INIT_PRIORITY, deferred_fns_used, do_static_destruction(), do_static_initialization(), dump_begin(), dump_end(), dump_node(), dump_time_statistics(), dump_tree_statistics(), emit_support_tinfos(), emit_tinfo_decl(), expand_body(), fclose(), finish_objc(), finish_repo(), finish_static_storage_duration_function(), flag_detailed_statistics, flag_syntax_only, flag_use_cxa_atexit, flags, generate_ctor_and_dtor_functions_for_priority(), generate_ctor_or_dtor_function(), global_bindings_p(), i, import_export_decl(), instantiate_pending_templates(), interface_only, interface_unknown, keyed_classes, lang_name_c, lineno, maybe_emit_vtables(), next, nreverse(), NULL_TREE, pending_statics_used, pop_from_top_level(), pop_lang_context(), prune_vars_needing_no_initialization(), push_lang_context(), push_to_top_level(), splay_tree_delete(), splay_tree_foreach(), start_static_storage_duration_function(), static_aggregates, stream, synthesize_method(), TDF_SLIM, TDI_all, timevar_pop, timevar_push, TREE_ASM_WRITTEN, TREE_CHAIN, TREE_PURPOSE, TREE_USED, TREE_VALUE, unemitted_tinfo_decl_p(), VARRAY_TREE, vars, walk_globals(), walk_namespaces(), wrapup_global_declarations(), wrapup_globals_for_namespace(), and write_out_vars().
Referenced by c_common_parse_file(), and finish_translation_unit().
Definition at line 1082 of file c-common.c.
References append_to_statement_list(), append_to_statement_list_force(), BIND_EXPR_BODY, build_stmt(), chainon(), COMPOUND_STMT_NO_SCOPE, current_function_decl, fname_var_t::decl, DECL_SAVED_TREE, NULL_TREE, saved_function_name_decls, stack, TREE_CHAIN, TREE_CODE, TREE_INT_CST_LOW, TREE_PURPOSE, and TREE_VALUE.
Referenced by finish_function(), finish_translation_unit(), and pop_file_scope().
Definition at line 4379 of file c-common.c.
References build1, c_language, clk_cplusplus, error_mark_node, lookup_label(), null_pointer_node, NULL_TREE, pedantic, pedwarn(), ptr_type_node, result, TREE_CONSTANT, and TREE_USED.
Referenced by c_parser_unary_expression(), cp_parser_unary_expression(), and tsubst_copy_and_build().
Definition at line 1213 of file c-common.c.
References BITS_PER_UNIT, build_array_type(), build_index_type(), build_int_2, build_int_cst(), build_type_variant, c_build_qualified_type(), c_dialect_cxx, c_language, char_type_node, clk_c, flag_const_strings, flag_isoc99, flag_writable_strings, length, NULL_TREE, pedantic, pedwarn(), TREE_CONSTANT, TREE_INVARIANT, TREE_READONLY, TREE_STATIC, TREE_STRING_LENGTH, TREE_TYPE, TYPE_PRECISION, TYPE_QUAL_CONST, warn_write_strings, wchar_array_type_node, wchar_type_node, and wide_flag.
Referenced by c_expand_builtin_printf(), cp_parser_string_literal(), and tinfo_name().
| const char* fname_as_string | ( | int | ) |
Definition at line 1126 of file c-common.c.
References c_lex_string_translate, cpp_interpret_string(), current_function_decl, DECL_NAME, IDENTIFIER_POINTER, len, NULL, snprintf(), strlen(), cpp_string::text, XDELETEVEC, XNEWVEC, and xstrdup().
Referenced by c_make_fname_decl(), cp_make_fname_decl(), and fname_string().
Definition at line 1165 of file c-common.c.
References current_function_decl, fname_var_t::decl, last_tree, lineno, NULL_TREE, fname_var_t::pretty, saved_function_name_decls, TREE_CHAIN, and tree_cons.
Referenced by c_parser_postfix_expression(), and finish_fname().
Definition at line 6120 of file c-common.c.
References convert(), fold_offsetof_1(), and size_type_node.
| struct c_fileinfo* get_fileinfo | ( | const char * | ) | [read] |
Definition at line 118 of file c-lex.c.
References free(), c_fileinfo::interface_only, c_fileinfo::interface_unknown, n, splay_tree_insert(), splay_tree_lookup(), splay_tree_new(), strcmp(), c_fileinfo::time, splay_tree_node_s::value, and XNEW.
| struct c_common_identifier GTY | ( | () | ) | [read, write] |
Definition at line 171 of file c-common.h.
| GTY | ( | (length("(int) RID_MAX")) | ) |
Definition at line 7255 of file c-decl.c.
References b, B_IN_EXTERNAL_SCOPE, B_IN_FILE_SCOPE, I_SYMBOL_BINDING, and IDENTIFIER_GLOBAL_VALUE.
Referenced by c_common_nodes_and_builtins(), expand_static_init(), grokdeclarator(), GTY(), handle_pragma_weak(), init_dynamic_asm_fprintf_info(), init_dynamic_diag_info(), init_dynamic_gfc_info(), solaris_pragma_align(), solaris_pragma_fini(), and solaris_pragma_init().
Definition at line 84 of file c-lex.c.
References body_time, c_common_read_pch(), c_common_valid_pch(), cb_def_pragma(), cb_define(), cb_ident(), cb_line_change(), cb_undef(), cpp_get_callbacks(), cpp_callbacks::def_pragma, cpp_callbacks::define, DINFO_LEVEL_VERBOSE, DWARF2_DEBUG, flag_detailed_statistics, get_fileinfo(), get_run_time(), header_time, cpp_callbacks::ident, cpp_callbacks::line_change, parse_in, cpp_callbacks::read_pch, c_fileinfo::time, cpp_callbacks::undef, cpp_callbacks::valid_pch, VMS_AND_DWARF2_DEBUG, and write_symbols.
Definition at line 92 of file c-ppoutput.c.
References c_common_valid_pch(), cb_def_pragma(), cb_define(), cb_ident(), cb_include(), cb_line_change(), cb_read_pch(), cb_undef(), CLK_ASM, cpp_get_callbacks(), cpp_get_options(), cpp_callbacks::def_pragma, cpp_callbacks::define, flag_dump_includes, flag_dump_macros, flag_no_output, flag_pch_preprocess, cpp_callbacks::ident, cpp_callbacks::include, cpp_callbacks::line_change, parse_in, print, cpp_callbacks::read_pch, cpp_callbacks::undef, and cpp_callbacks::valid_pch.
Definition at line 2240 of file c-decl.c.
References bind(), build_decl, C_DECLARED_LABEL_FLAG, current_function_decl, DECL_CONTEXT, DECL_MODE, DECL_SOURCE_FILE, DECL_SOURCE_LINE, DECL_SOURCE_LOCATION, error(), ggc_alloc_cleared, GGC_CNEW, I_LABEL_DECL, IDENTIFIER_LABEL_VALUE, IDENTIFIER_POINTER, input_filename, input_location, lineno, make_label(), make_label_decl(), named_labels, NULL_TREE, POP_TIMEVAR_AND_RETURN, shadow_label(), timevar_push, tree_cons, TREE_USED, and void_type_node.
Referenced by build_java_jsr(), c_finish_goto_label(), define_label(), expand_byte_code(), expand_compare(), expand_java_goto(), finish_goto_stmt(), finish_label_address_expr(), note_label(), shadow_label(), and verify_jvm_instructions().
Definition at line 2496 of file c-decl.c.
References b, current_binding_level, global_binding_level, I_SYMBOL_BINDING, IDENTIFIER_GLOBAL_VALUE, IDENTIFIER_LOCAL_VALUE, LOOKUP_COMPLAIN, lookup_name_real(), and val.
| void lvalue_error | ( | enum | lvalue_use | ) |
Definition at line 6130 of file c-common.c.
References error(), gcc_unreachable, lv_addressof, lv_asm, lv_assign, lv_decrement, and lv_increment.
Referenced by lvalue_or_else().
| unsigned int min_precision | ( | tree | , | |
| int | ||||
| ) |
Definition at line 2227 of file c-common.c.
References build1, fold(), fold_build1, integer_zerop(), log(), tree_floor_log2(), tree_int_cst_sgn(), and TREE_TYPE.
Referenced by check_bitfield_decl(), check_bitfield_type_and_width(), finish_enum(), and finish_struct().
| void objc_begin_try_stmt | ( | location_t | , | |
| tree | ||||
| ) |
| void objc_build_finally_clause | ( | location_t | , | |
| tree | ||||
| ) |
| tree objc_build_synchronized | ( | location_t | , | |
| tree | , | |||
| tree | ||||
| ) |
Definition at line 874 of file objc-act.c.
References constant_string_type, TREE_CODE, TREE_STATIC_TEMPLATE, and TREE_TYPE.
Definition at line 157 of file stub-objc.c.
Referenced by build_binary_op(), composite_pointer_type(), and convert_for_assignment().
Definition at line 152 of file stub-objc.c.
Definition at line 115 of file stub-objc.c.
Definition at line 2309 of file objc-act.c.
References alias_chain, IDENTIFIER_POINTER, is_class_name(), tree_cons, and warning.
Referenced by c_parser_objc_alias_declaration(), and cp_parser_objc_alias_declaration().
Definition at line 2322 of file objc-act.c.
References class_chain, error(), ident, IDENTIFIER_POINTER, is_class_name(), lookup_name(), NULL_TREE, TREE_CHAIN, tree_cons, TREE_STATIC_TEMPLATE, TREE_VALUE, and xref_tag().
Referenced by c_parser_objc_class_declaration(), and cp_parser_objc_class_declaration().
Definition at line 6328 of file objc-act.c.
References add_protocol(), lookup_protocol(), make_node, make_tree_vec, NULL_TREE, PROTOCOL_DEFINED, PROTOCOL_FORWARD_DECL, PROTOCOL_LIST, PROTOCOL_NAME, TREE_CHAIN, TREE_VALUE, and TYPE_BINFO.
Referenced by c_parser_objc_protocol_definition(), and cp_parser_objc_protocol_declaration().
Definition at line 306 of file stub-objc.c.
Definition at line 162 of file stub-objc.c.
Definition at line 120 of file stub-objc.c.
Definition at line 317 of file stub-objc.c.
Referenced by build_modify_expr().
| int objc_is_reserved_word | ( | tree | ) |
Definition at line 563 of file c-decl.c.
References b, C_DECL_REGISTER, current_binding_level, current_scope(), DECL_REGISTER, objc_volatilize_decl(), sk_block, sk_function_parms, TREE_CHAIN, TREE_CODE, and TREE_THIS_VOLATILE.
Definition at line 208 of file c-lang.c.
Referenced by convert_arguments(), convert_for_assignment(), and warn_for_assignment().
Referenced by build_function_call().
| void objc_set_method_type | ( | enum | tree_code | ) |
| void objc_set_visibility | ( | int | ) |
| int objc_static_init_needed_p | ( | void | ) |
Definition at line 241 of file stub-objc.c.
Referenced by comp_ptr_ttypes_real(), and convert_for_assignment().
Referenced by objc_mark_locals_volatile().
Definition at line 1391 of file c-common.c.
References skip_evaluation, TREE_CODE, TREE_OVERFLOW, TREE_REALPART, and warning.
Referenced by convert_for_assignment(), convert_like_real(), dubious_conversion_warnings(), finish_unary_op_expr(), parser_build_binary_op(), and parser_build_unary_op().
Definition at line 118 of file c-pch.c.
References ASM_COMMENT_START, asm_file_name, asm_file_startpos, asm_out_file, c_common_print_pch_checksum(), cpp_save_state(), debug_hooks, c_pch_validity::debug_info_type, executable_checksum, f, fatal_error(), c_pch_matching::flag_var, flag_verbose_asm, fopen, fprintf(), fputc(), ftell(), fwrite, gcc_assert, gcc_target::get_pch_validity, gcc_debug_hooks::handle_pch, host_machine, c_pch_validity::host_machine_length, i, IDENT_LENGTH, c_pch_validity::match, MATCH_SIZE, memcmp, no_checksum, NULL, parse_in, pch_file, c_pch_validity::pch_init, pch_init(), pch_matching, pch_outfile, strcmp(), strlen(), c_pch_validity::target_data_length, target_machine, c_pch_validity::target_machine_length, targetm, c_pch_validity::version_length, version_string, and write_symbols.
Definition at line 1447 of file typeck.c.
References c_common_type_for_size(), c_promoting_integer_type_p(), compare_tree_int(), convert(), cp_convert(), DECL_C_BIT_FIELD, DECL_SIZE, gcc_assert, integer_type_node, INTEGRAL_OR_ENUMERATION_TYPE_P, INTEGRAL_TYPE_P, is_bitfield_expr_with_lowered_type(), MAX, TREE_CODE, TREE_OPERAND, TREE_TYPE, TYPE_PRECISION, type_promotes_to(), TYPE_UNSIGNED, and unsigned_type_node.
Definition at line 2662 of file c-common.c.
References build(), build2, build_binary_op(), c_common_type_for_size(), convert(), fold(), fold_build2, fold_defer_overflow_warnings(), fold_undefer_and_ignore_overflow_warnings(), integer_one_node, pedantic, pedwarn(), result, ret, size_in_bytes(), sizetype, TREE_CODE, TREE_CONSTANT, TREE_OPERAND, TREE_TYPE, TREE_UNSIGNED, TYPE_PRECISION, TYPE_UNSIGNED, and warn_pointer_arith.
Referenced by build_binary_op(), and cp_pointer_int_sum().
Definition at line 902 of file c-decl.c.
References c_common_write_pch(), cgraph_finalize_compilation_unit(), current_scope(), finish_fname_decls(), maybe_apply_pending_pragma_weaks(), pch_file, and pop_scope().
Definition at line 64 of file c-semantics.c.
References cur_stmt_list, free_stmt_list, i, NULL_TREE, TREE_CHAIN, TREE_SIDE_EFFECTS, tsi_delink(), tsi_one_before_end_p(), tsi_start(), and tsi_stmt().
| void pp_dir_change | ( | cpp_reader * | , | |
| const char * | ||||
| ) |
Definition at line 369 of file c-ppoutput.c.
References cpp_get_options(), flag_no_line_commands, flags, INCLUDED_FROM, LAST_SOURCE_LINE_LOCATION, LC_ENTER, LC_LEAVE, line_table, maybe_print_line(), NULL, parse_in, print, print_line(), and line_map::start_location.
| void preprocess_file | ( | cpp_reader * | ) |
Definition at line 65 of file c-ppoutput.c.
References cpp_reader::buffer, cpp_forall_identifiers(), cpp_get_options(), cpp_scan_nooutput(), dump_macro(), flag_dump_macros, flag_no_output, NULL, cpp_buffer::prev, print, putc(), scan_translation_unit(), and scan_translation_unit_trad().
Definition at line 449 of file semantics.c.
References add_stmt(), build_stmt(), CLEANUP_BODY, CLEANUP_EH_ONLY, NULL, and push_stmt_list().
Definition at line 884 of file c-decl.c.
References bind(), current_scope(), DECL_NAME, push_scope(), start_fname_decls(), and TREE_CHAIN.
Definition at line 52 of file c-semantics.c.
References alloc_stmt_list(), cur_stmt_list, and TREE_CHAIN.
Definition at line 2085 of file c-decl.c.
References b, bind(), current_binding_level, DECL_NAME, gcc_assert, global_binding_level, I_SYMBOL_BINDING, NULL, pushdecl(), pushdecl_top_level_1(), TREE_CODE, and TREE_PUBLIC.
Referenced by build_class_ref(), build_class_reference_decl(), build_java_class_ref(), build_objc_string_decl(), build_protocol_reference(), build_selector_reference_decl(), java_lang_expand_expr(), make_temporary_var_for_ref_to_temp(), objc_add_static_instance(), push_class(), push_library_fn(), start_decl(), and tsubst_friend_class().
Definition at line 7265 of file c-decl.c.
References build_decl, debug_hooks, DECL_ARTIFICIAL, get_identifier(), int, NULL_TREE, pushdecl(), RID_MAX, ridpointers, SET_IDENTIFIER_GLOBAL_VALUE, set_identifier_type_value(), TYPE_BUILT_IN, gcc_debug_hooks::type_decl, and TYPE_NAME.
Referenced by c_common_nodes_and_builtins(), cxx_init_decl_processing(), GTY(), and record_builtin_java_type().
Definition at line 6371 of file c-common.c.
References build_function_call(), built_in_decls, BUILT_IN_MD, BUILT_IN_NORMAL, DECL_BUILT_IN_CLASS, DECL_FUNCTION_CODE, error_mark_node, exact_log2, n, NULL_TREE, gcc_target::resolve_overloaded_builtin, result, sync_resolve_params(), sync_resolve_return(), sync_resolve_size(), and targetm.
Referenced by build_function_call(), and finish_call_expr().
| void resort_sorted_fields | ( | void * | , | |
| void * | , | |||
| gt_pointer_operator | , | |||
| void * | ||||
| ) |
Definition at line 6020 of file c-common.c.
References gcc_assert, and TREE_CODE.
Referenced by build_binary_op().
| int self_promoting_args_p | ( | tree | ) |
Definition at line 3896 of file c-common.c.
References c_promoting_integer_type_p(), error_mark_node, float_type_node, TREE_CHAIN, TREE_VALUE, TYPE_MAIN_VARIANT, and void_type_node.
Referenced by comp_target_parms(), decls_match(), duplicate_decls(), and function_types_compatible_p().
Definition at line 3416 of file c-common.c.
References built_in_decls, BUILT_IN_NORMAL, DECL_BUILT_IN_CLASS, DECL_FUNCTION_CODE, gcc_assert, init_block_clear_fn(), init_block_move_fn(), set_user_assembler_name(), and TREE_CODE.
Referenced by finish_decl(), and make_rtl_for_nonlocal_decl().
Referenced by build_compound_literal().
| void set_Wformat | ( | int | ) |
Definition at line 43 of file c-format.c.
References warn_format, warn_format_extra_args, warn_format_nonliteral, warn_format_security, warn_format_y2k, warn_format_zero_length, and warn_nonnull.
Referenced by c_common_decode_option(), and c_common_handle_option().
Definition at line 2334 of file c-common.c.
References boolean_false_node, boolean_true_node, boolean_type_node, build(), build2, build_int_cst_wide(), c_common_signed_or_unsigned_type(), c_common_signed_type(), c_common_type_for_size(), c_common_unsigned_type(), common_type(), convert(), DECIMAL_FLOAT_MODE_P, extra_warnings, force_fit_type(), get_narrower(), in_system_header, INT_CST_LT, INT_CST_LT_UNSIGNED, integer_zerop(), real_zerop(), tmp, TREE_CODE, TREE_CONSTANT, TREE_CONSTANT_OVERFLOW, TREE_INT_CST_HIGH, TREE_INT_CST_LOW, TREE_OVERFLOW, TREE_SIDE_EFFECTS, TREE_TYPE, TREE_UNSIGNED, truthvalue_false_node, truthvalue_true_node, truthvalue_type_node, TYPE_MAX_VALUE, TYPE_MIN_VALUE, TYPE_MODE, TYPE_PRECISION, TYPE_UNSIGNED, val, and warning.
Referenced by build_binary_op().
Definition at line 1052 of file c-common.c.
References build_int_2, build_int_cst(), fname_var_t::decl, NULL_TREE, saved_function_name_decls, and tree_cons.
Referenced by c_init_decl_processing(), cxx_init_decl_processing(), push_file_scope(), start_function(), and start_preparsed_function().
Definition at line 987 of file c-common.c.
References alias_sets_conflict_p(), alias_sets_might_conflict_p(), COMPLETE_TYPE_P, DECL_P, flag_strict_aliasing, get_alias_set(), handled_component_p(), HOST_WIDE_INT, POINTER_TYPE_P, TREE_CODE, TREE_OPERAND, TREE_TYPE, VOID_TYPE_P, warn_strict_aliasing, and warning.
Referenced by build_c_cast(), and build_reinterpret_cast_1().
Definition at line 3923 of file c-common.c.
References TREE_CODE, and TREE_TYPE.
Referenced by build_component_ref(), build_op_delete_call(), build_vec_delete(), build_vec_init(), c_build_qualified_type(), check_field_decl(), check_field_decls(), check_initializer(), complete_array_type(), composite_type(), constrain_class_visibility(), cp_finish_decl(), cp_has_mutable_p(), cp_type_quals(), cp_type_readonly(), grokdeclarator(), handle_init_priority_attribute(), pod_type_p(), walk_subobject_offsets(), and zero_init_p().
Definition at line 3591 of file c-common.c.
References POINTER_TYPE_P, and TREE_TYPE.
Referenced by pp_c_space_for_pointer_operator(), pp_c_specifier_qualifier_list(), and pp_cxx_postfix_expression().
Definition at line 973 of file c-common.c.
References INTEGRAL_TYPE_P, targetm, TREE_CODE, tree_int_cst_equal(), TREE_TYPE, TYPE_PRECISION, TYPE_SIZE, and gcc_target::vector_opaque_p.
Referenced by convert_for_assignment(), digest_init(), ptr_reasonably_similar(), and standard_conversion().
Definition at line 1388 of file c-common.c.
References gcc_obstack_init, obstack_alloc, obstack_free, tlist_firstobj, tlist_obstack, verify_tree(), and warn_for_collisions().
Definition at line 6479 of file c-common.c.
References char_type_node, TREE_CODE, TREE_TYPE, TYPE_MAIN_VARIANT, and warning.
Referenced by build_array_ref().
Definition at line 821 of file c-common.c.
Definition at line 907 of file c-common.c.
Definition at line 104 of file c-common.c.
Referenced by boolean_increment(), c_add_case_label(), c_common_decode_option(), c_common_init_options(), cb_register_builtins(), check_case_value(), finish_label_address_expr(), fix_string_type(), get_ident(), GTY(), lex_charconst(), and pp_c_bool_literal().
| const char* constant_string_class_name |
Definition at line 454 of file c-common.c.
Referenced by c_common_decode_option(), and c_common_handle_option().
| const unsigned char executable_checksum[16] |
Definition at line 1 of file dummy-checksum.c.
Referenced by c_common_print_pch_checksum(), c_common_valid_pch(), and pch_init().
Definition at line 542 of file c-common.c.
Referenced by accessible_p(), c_common_decode_option(), c_common_handle_option(), c_parse_file(), get_mostly_instantiated_function_type(), register_dtor_fn(), and simplify_aggr_init_exprs_r().
| int flag_check_new |
Definition at line 547 of file c-common.c.
Referenced by build_new_1(), c_common_decode_option(), c_common_handle_option(), and check_return_expr().
Definition at line 358 of file c-common.c.
Referenced by build_conditional_expr(), c_common_decode_option(), and c_common_handle_option().
Definition at line 538 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), and start_decl().
Definition at line 245 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), c_common_init_options(), cxx_init_decl_processing(), fix_string_type(), and string_conv_p().
Definition at line 526 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), and start_method().
| char flag_dump_includes |
Definition at line 221 of file c-common.c.
Referenced by handle_OPT_d(), init_pp_output(), and sanitize_cpp_opts().
| char flag_dump_macros |
Definition at line 217 of file c-common.c.
Referenced by cb_define(), handle_OPT_d(), init_pp_output(), preprocess_file(), and sanitize_cpp_opts().
Definition at line 521 of file c-common.c.
Referenced by build_over_call(), c_common_decode_option(), c_common_handle_option(), check_return_expr(), and stabilize_throw_expr().
Definition at line 583 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), finish_function(), store_parm_decls(), and use_eh_spec_block().
Definition at line 436 of file c-common.c.
Referenced by c_common_decode_option(), and c_common_handle_option().
| int flag_hosted |
Definition at line 370 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), c_missing_noreturn_ok_p(), cb_register_builtins(), finish_function(), finish_options(), grokdeclarator(), and GTY().
Definition at line 486 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), import_export_decl(), start_function(), and start_preparsed_function().
Definition at line 507 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), and import_export_decl().
Definition at line 501 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), import_export_class(), and import_export_decl().
| int flag_iso |
Definition at line 209 of file c-common.c.
Referenced by builtin_define_std(), c_cpp_builtins(), cb_register_builtins(), disable_extension_diagnostics(), grokfield(), ia64_hpux_add_pragma_builtin(), restore_extension_diagnostics(), set_std_c89(), set_std_c99(), and set_std_cxx98().
| int flag_isoc94 |
Definition at line 362 of file c-common.c.
Referenced by ia64_hpux_add_pragma_builtin(), set_std_c89(), and set_std_c99().
| int flag_isoc99 |
Definition at line 366 of file c-common.c.
Definition at line 236 of file c-common.c.
Referenced by build_offset_ref(), build_unary_op(), build_x_unary_op(), c_common_decode_option(), c_common_handle_option(), grokdeclarator(), grokfield(), instantiate_type(), resolve_address_of_overloaded_function(), and resolve_offset_ref().
Definition at line 556 of file c-common.c.
Referenced by begin_for_stmt(), c_common_decode_option(), c_common_handle_option(), finish_for_stmt(), and poplevel().
| int flag_no_asm |
Definition at line 240 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), c_parse_init(), init_reswords(), set_std_c89(), and set_std_c99().
| int flag_no_builtin |
Definition at line 220 of file c-common.c.
Referenced by builtin_function_2(), c_common_decode_option(), c_common_handle_option(), and def_builtin_1().
Definition at line 481 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), init_reswords(), set_std_c89(), and set_std_cxx98().
Definition at line 208 of file c-common.c.
Referenced by c_common_handle_option(), c_common_post_options(), pp_file_change(), print_line(), and sanitize_cpp_opts().
Definition at line 225 of file c-common.c.
Referenced by builtin_function_2(), c_common_decode_option(), c_common_handle_option(), def_builtin_1(), set_std_c89(), set_std_c99(), and set_std_cxx98().
| char flag_no_output |
Definition at line 213 of file c-common.c.
Referenced by c_common_handle_option(), init_pp_output(), preprocess_file(), and sanitize_cpp_opts().
Definition at line 300 of file c-common.c.
Referenced by c_common_handle_option(), and c_common_post_options().
Definition at line 303 of file c-common.c.
Referenced by c_common_handle_option(), and c_common_post_options().
Definition at line 517 of file c-common.c.
Referenced by c_common_decode_option(), and c_common_handle_option().
Definition at line 225 of file c-common.c.
Referenced by c_common_handle_option(), and init_pp_output().
| int flag_permissive |
Definition at line 576 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), cp_parser_template_id(), cxx_init_decl_processing(), and unqualified_fn_lookup_error().
Definition at line 205 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), c_common_init(), c_common_post_options(), c_common_read_pch(), cb_file_change(), and init_pragma().
| int flag_rtti |
Definition at line 531 of file c-common.c.
Referenced by build_dynamic_cast_1(), build_rtti_vtbl_entries(), c_common_decode_option(), c_common_handle_option(), import_export_decl(), import_export_tinfo(), and typeid_ok_p().
Definition at line 229 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), c_common_nodes_and_builtins(), and GTY().
| int flag_short_wchar |
Definition at line 233 of file c-common.c.
Referenced by c_common_decode_option(), and c_common_handle_option().
Definition at line 256 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), and grokdeclarator().
Definition at line 471 of file c-common.c.
Referenced by c_common_handle_option(), and expand_static_init().
| int flag_undef |
Definition at line 216 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), c_cpp_builtins(), and cb_register_builtins().
Definition at line 567 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), cp_finish_file(), do_static_destruction(), do_static_initialization(), finish_file(), get_atexit_node(), one_static_initialization_or_destruction(), register_dtor_fn(), start_cleanup_fn(), and start_static_initialization_or_destruction().
Definition at line 435 of file c-common.c.
Referenced by c_common_handle_option(), and expand_start_catch_block().
Definition at line 512 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), cp_finish_file(), do_decl_instantiation(), do_type_instantiation(), finish_repo(), get_base_filename(), init_repo(), reopen_repo_file_for_write(), repo_emit_p(), repo_export_class_p(), and repo_template_used().
| int flag_weak |
Definition at line 562 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), c_cpp_builtins(), comdat_linkage(), cxx_init_decl_processing(), emit_support_tinfos(), import_export_class(), import_export_decl(), import_export_tinfo(), make_thunk(), mark_decl_instantiated(), maybe_commonize_var(), maybe_emit_vtables(), maybe_make_one_only(), sh_output_mi_thunk(), and use_thunk().
Definition at line 449 of file c-common.c.
Referenced by c_common_handle_option(), c_common_post_options(), and sanitize_cpp_opts().
| int flag_zero_link |
| int(* lang_missing_noreturn_ok_p)(tree) |
| tree(* make_fname_decl)(tree, int) |
Referenced by c_init_decl_processing(), and cxx_init_decl_processing().
| int max_tinst_depth |
Definition at line 664 of file c-common.c.
| const char* pch_file |
Definition at line 230 of file c-common.c.
Referenced by build_clone(), c_common_handle_option(), c_common_write_pch(), cp_finish_file(), finish_member_declaration(), instantiate_decl(), note_decl_for_pch(), pch_init(), and pop_file_scope().
Definition at line 450 of file c-common.c.
Referenced by c_common_decode_option(), and c_common_handle_option().
| int skip_evaluation |
Definition at line 684 of file c-common.c.
Referenced by build_binary_op(), build_class_member_access_expr(), build_conditional_expr(), build_external_ref(), build_indirect_ref(), c_parser_alignof_expression(), c_parser_binary_expression(), c_parser_conditional_expression(), c_parser_sizeof_expression(), c_parser_typeof_specifier(), coerce_template_parms(), convert_and_check(), convert_arg_to_ellipsis(), cp_parser_enclosed_template_argument_list(), cp_parser_sizeof_operand(), mark_used(), overflow_warning(), pop_from_top_level(), push_to_top_level(), tsubst_aggr_type(), tsubst_copy_and_build(), and unsigned_conversion_warning().
| int warn_format |
Definition at line 324 of file c-common.c.
Referenced by build_function_call_real(), build_over_call(), c_common_post_options(), check_function_arguments(), check_function_format(), and set_Wformat().
| int warn_implicit |
Definition at line 607 of file c-common.c.
Referenced by implicitly_declare(), set_Wimplicit(), and start_function().
| int warn_main |
Definition at line 411 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), finish_function(), start_decl(), and start_function().
Definition at line 291 of file c-common.c.
Referenced by c_common_handle_option(), and check_function_sentinel().
Definition at line 319 of file c-common.c.
Referenced by c_common_decode_option(), c_common_handle_option(), cb_def_pragma(), and ffelex_hash_().
1.5.6