#include "config.h"#include "system.h"#include "intl.h"#include "tree.h"#include "tree-inline.h"#include "rtl.h"#include "flags.h"#include "function.h"#include "output.h"#include "expr.h"#include "c-tree.h"#include "toplev.h"#include "ggc.h"#include "tm_p.h"#include "cpplib.h"#include "target.h"#include "debug.h"#include "timevar.h"#include "c-common.h"#include "c-pragma.h"#include "libfuncs.h"#include "except.h"#include "gt-c-decl.h"

Go to the source code of this file.
| #define NULL_BINDING_LEVEL (struct binding_level *) NULL |
| enum decl_context |
Definition at line 2789 of file c-decl.c.
References build_nt(), flag_isoc99, NULL_TREE, pedantic, pedwarn(), TREE_STATIC, TREE_TYPE, and warning.
Definition at line 3394 of file c-decl.c.
References abort, ASM_FORMAT_PRIVATE_NAME, build1, build_decl, build_stmt(), complete_array_type(), COMPLETE_TYPE_P, current_binding_level, current_function_decl, DECL_ARTIFICIAL, DECL_COMDAT, DECL_CONTEXT, DECL_DEFER_OUTPUT, DECL_EXTERNAL, DECL_INITIAL, DECL_NAME, error_mark_node, failure, get_identifier(), global_binding_level, layout_decl(), NULL, NULL_TREE, pushdecl(), rest_of_decl_compilation(), store_init_value(), TREE_CODE, TREE_PUBLIC, TREE_READONLY, TREE_SIDE_EFFECTS, TREE_STATIC, TREE_TYPE, TREE_USED, and var_labelno.
Definition at line 5996 of file c-decl.c.
References build_binary_op(), build_decl, c_common_type_for_size(), constant_expression_warning(), convert(), DECL_INITIAL, default_conversion(), enum_next_value, enum_overflow, error(), IDENTIFIER_POINTER, int_fits_type_p(), integer_one_node, integer_type_node, MAX, NULL_TREE, pedantic, pedwarn(), pushdecl(), STRIP_TYPE_NOPS, TREE_CODE, tree_cons, tree_int_cst_lt(), TREE_TYPE, TREE_UNSIGNED, and TYPE_PRECISION.
Definition at line 7440 of file c-decl.c.
References build_tree_list, NULL_TREE, and void_type_node.
| tree builtin_function | ( | char * | name, | |
| tree | type, | |||
| int | function_code, | |||
| enum built_in_class | class, | |||
| const char * | library_name, | |||
| tree | attrs | |||
| ) | const |
Definition at line 2646 of file c-decl.c.
References ATTR_FLAG_BUILT_IN, build_decl, C_DECL_ANTICIPATED, decl_attributes(), DECL_BUILT_IN_CLASS, DECL_EXTERNAL, DECL_FUNCTION_CODE, get_identifier(), make_decl_rtl(), NULL, NULL_TREE, pushdecl(), SET_DECL_ASSEMBLER_NAME, and TREE_PUBLIC.
| tree c_begin_compound_stmt | ( | ) |
Definition at line 6927 of file c-decl.c.
References gcc_target::asm_out, cfun, compare_tree_int(), gcc_target::asm_out::constructor, current_function_decl, debug_hooks, DECL_ARGUMENTS, DECL_ASSEMBLER_NAME, DECL_CONTEXT, DECL_EXTERNAL, decl_function_context(), DECL_INITIAL, DECL_LANG_SPECIFIC, DECL_NAME, DECL_RTL, DECL_SAVED_INSNS, DECL_SAVED_TREE, DECL_SOURCE_FILE, DECL_SOURCE_LINE, DECL_ST, DECL_STATIC_CONSTRUCTOR, DECL_STATIC_DESTRUCTOR, DEFAULT_INIT_PRIORITY, defer_fn(), gcc_debug_hooks::deferred_inline_function, gcc_target::asm_out::destructor, dump_enabled_p(), error_mark_node, expand_function_end(), expand_function_start(), expand_main_function(), expand_pending_sizes(), expand_stmt(), flag_inline_trees, flag_syntax_only, ggc_pop_context(), ggc_push_context(), gcc_target::have_ctors_dtors, IDENTIFIER_POINTER, immediate_size_expand, init_function_start(), input_filename, larger_than_size, lineno, MAIN_NAME_P, NULL, NULL_TREE, optimize_inline_calls(), pop_function_context(), push_function_context(), rest_of_compilation(), set_save_expr_context(), targetm, TDI_all, timevar_pop, timevar_push, TREE_CHAIN, TREE_CODE, tree_cons, tree_inlinable_function_p(), TREE_INT_CST_LOW, TREE_TYPE, TYPE_SIZE_UNIT, variably_modified_type_p(), walk_tree(), walk_tree_without_duplicates(), warn_larger_than, WFE_Assemble_Constructor(), WFE_Assemble_Destructor(), WFE_Finish_Function(), WFE_Set_Line_And_File(), WFE_Start_Function(), and XEXP.
Definition at line 7399 of file c-decl.c.
References c_expand_body(), current_function_decl, DECL_CONTEXT, DECL_SAVED_TREE, DECL_STMT_DECL, and TREE_CODE.
Definition at line 6873 of file c-decl.c.
References c_expand_body(), current_function_decl, DECL_INLINE, DECL_RESULT, DECL_SAVED_TREE, NULL, walk_tree_without_duplicates(), and WFE_Start_Function().
Definition at line 351 of file c-decl.c.
References complete_array_type(), DECL_EXTERNAL, error_mark_node, layout_decl(), NULL_TREE, TREE_CODE, TREE_TYPE, and TYPE_DOMAIN.
Definition at line 2547 of file c-decl.c.
References BOOL_TYPE_SIZE, boolean_false_node, boolean_true_node, boolean_type_node, build_common_tree_nodes(), build_decl, build_function_type(), build_int_2, c_bool_false_node, c_bool_true_node, c_bool_type_node, c_common_nodes_and_builtins(), c_make_fname_decl(), c_parse_init(), current_binding_level, current_function_decl, flag_signed_char, free_binding_level, get_identifier(), global_binding_level, integer_one_node, integer_type_node, integer_zero_node, make_fname_decl, make_unsigned_type(), named_labels, NULL, NULL_BINDING_LEVEL, NULL_TREE, pedantic, pedantic_lvalues, ptr_type_node, pushdecl(), pushlevel(), start_fname_decls(), tree_cons, TREE_SET_CODE, TREE_TYPE, TYPE_MAX_VALUE, TYPE_PRECISION, and void_list_node.
Definition at line 2682 of file c-decl.c.
References c_common_insert_default_attributes(), and TREE_PUBLIC.
Definition at line 2605 of file c-decl.c.
References build_array_type(), build_decl, build_index_type(), build_qualified_type(), build_string(), char_type_node, current_function_decl, DECL_ARTIFICIAL, DECL_CONTEXT, DECL_INITIAL, finish_decl(), fname_as_string(), length, NULL_TREE, size_int, strlen(), TREE_READONLY, TREE_STATIC, TREE_TYPE, TREE_USED, and TYPE_QUAL_CONST.
Definition at line 7278 of file c-decl.c.
References current_binding_level, current_function_decl, current_function_returns_abnormally, current_function_returns_null, current_function_returns_value, DECL_ARGUMENTS, DECL_INITIAL, DECL_NAME, DECL_SAVED_INSNS, DECL_SAVED_TREE, error_mark_node, IDENTIFIER_LABEL_VALUE, named_labels, NULL, NULL_TREE, p, shadowed_labels, TREE_CHAIN, and TREE_VALUE.
Definition at line 326 of file c-decl.c.
References C_IS_RESERVED_WORD, C_RID_CODE, fprintf(), HOST_PTR_PRINTF, IDENTIFIER_ERROR_LOCUS, IDENTIFIER_GLOBAL_VALUE, IDENTIFIER_IMPLICIT_DECL, IDENTIFIER_LABEL_VALUE, IDENTIFIER_LIMBO_VALUE, IDENTIFIER_LOCAL_VALUE, IDENTIFIER_POINTER, indent_to(), print_node(), and ridpointers.
Definition at line 7255 of file c-decl.c.
References current_binding_level, current_function_returns_abnormally, current_function_returns_null, current_function_returns_value, ggc_alloc, named_labels, p, and shadowed_labels.
Definition at line 7179 of file c-decl.c.
References DECL_EXTERNAL, DECL_NAME, error(), flag_isoc99, getdecls(), gettags(), IDENTIFIER_POINTER, TREE_CHAIN, TREE_CODE, TREE_PURPOSE, TREE_STATIC, and TREE_VALUE.
Definition at line 487 of file c-decl.c.
References BLOCK_SUBBLOCKS, BLOCK_VARS, clear_limbo_values(), DECL_NAME, IDENTIFIER_LIMBO_VALUE, and TREE_CHAIN.
| void clear_parm_order | ( | ) |
Definition at line 3455 of file c-decl.c.
References build(), build_index_type(), build_int_2, CONSTRUCTOR_ELTS, copy_node, error_mark_node, fold(), int_size_in_bytes(), integer_one_node, integer_type_node, layout_type(), NULL_TREE, TREE_CHAIN, TREE_CODE, TREE_PURPOSE, TREE_STRING_LENGTH, TREE_TYPE, and TYPE_DOMAIN.
| void declare_parm_level | ( | definition_flag | ) |
Definition at line 2335 of file c-decl.c.
References current_function_decl, DECL_CONTEXT, DECL_INITIAL, DECL_SOURCE_FILE, DECL_SOURCE_LINE, error_mark_node, IDENTIFIER_LABEL_VALUE, IDENTIFIER_POINTER, in_system_header, lookup_label(), lookup_name(), NULL_TREE, shadowed_labels, tree_cons, and warn_traditional.
Definition at line 884 of file c-decl.c.
References abort, build_function_type(), build_type_attribute_variant(), c_type_promotes_to(), char_type_node, common_type(), comptypes(), COPY_DECL_ASSEMBLER_NAME, COPY_DECL_RTL, Create_ST_For_Tree(), current_binding_level, debug_hooks, DECL_ABSTRACT_ORIGIN, DECL_ALIGN, DECL_ARGUMENTS, DECL_ATTRIBUTES, DECL_BUILT_IN, DECL_BUILT_IN_CLASS, DECL_BUILT_IN_NONANSI, DECL_CONTEXT, DECL_DECLARED_INLINE_P, DECL_EXTERNAL, DECL_FUNCTION_CODE, DECL_IN_SYSTEM_HEADER, DECL_INITIAL, DECL_INLINE, DECL_MODE, DECL_NAME, DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK, DECL_NUM_STMTS, DECL_ORIGIN, DECL_P, DECL_RESULT, DECL_RTL_SET_P, DECL_SAVED_INSNS, DECL_SAVED_TREE, DECL_SECTION_NAME, DECL_SIZE, DECL_SIZE_UNIT, DECL_SOURCE_FILE, DECL_SOURCE_LINE, DECL_ST, DECL_ST2(), DECL_STATIC_CONSTRUCTOR, DECL_STATIC_DESTRUCTOR, DECL_THREAD_LOCAL, DECL_UID, DECL_UNINLINABLE, DECL_USER_ALIGN, error(), error_mark_node, global_binding_level, in_system_header, layout_decl(), layout_type(), lookup_attribute(), make_decl_rtl(), make_var_volatile(), memcpy, merge_attributes(), gcc_target::merge_decl_attributes, merge_weak(), NOT_BUILT_IN, NULL, NULL_TREE, gcc_debug_hooks::outlining_inline_function, pedantic, redeclaration_error_message(), self_promoting_args_p(), targetm, TREE_ASM_WRITTEN, TREE_CHAIN, TREE_CODE, tree_cons, TREE_PUBLIC, TREE_READONLY, TREE_SIDE_EFFECTS, TREE_STATIC, TREE_THIS_VOLATILE, TREE_TYPE, TREE_USED, TREE_VALUE, TYPE_ACTUAL_ARG_TYPES, TYPE_ARG_TYPES, TYPE_ATTRIBUTES, TYPE_MAIN_VARIANT, TYPE_MODE, void_type_node, warn_redundant_decls, warn_shadow, warn_traditional, and WFE_Resolve_Duplicate_Decls().
Definition at line 3047 of file c-decl.c.
References add_decl_stmt(), add_stmt(), bcopy_libfunc, build_function_call(), build_stmt(), build_tree_list, build_unary_op(), built_in_decls, BUILT_IN_NORMAL, bzero_libfunc, cleanup(), complete_array_type(), COMPLETE_TYPE_P, constant_expression_warning(), current_binding_level, DECL_ATTRIBUTES, DECL_BUILT_IN_CLASS, DECL_C_HARD_REGISTER, DECL_CONTEXT, DECL_DEFER_OUTPUT, DECL_EXTERNAL, DECL_FUNCTION_CODE, DECL_INITIAL, DECL_REGISTER, DECL_RTL, DECL_SIZE, eh_personality_libfunc, error_mark_node, failure, flag_exceptions, flag_objc, get_identifier(), get_pending_sizes(), global_binding_level, init_block_clear_fn(), init_block_move_fn(), init_one_libfunc(), layout_decl(), lookup_attribute(), lookup_name(), maybe_apply_renaming_pragma(), memcmp_libfunc, memcpy_libfunc, memmove_libfunc, memset_libfunc, NULL, NULL_RTX, NULL_TREE, objc_check_decl(), pedantic, rest_of_decl_compilation(), SET_DECL_ASSEMBLER_NAME, SET_DECL_RTL, store_init_value(), TREE_ADDRESSABLE, TREE_ASM_WRITTEN, TREE_CODE, tree_int_cst_sgn(), TREE_PUBLIC, TREE_STATIC, TREE_STRING_POINTER, TREE_TYPE, TREE_USED, TREE_VALUE, TYPE_DOMAIN, TYPE_MAX_VALUE, using_eh_for_cleanups(), USING_SJLJ_EXCEPTIONS, WFE_Decl(), WFE_Initialize_Decl(), and XEXP.
Definition at line 5847 of file c-decl.c.
References ATTR_FLAG_TYPE_IN_PLACE, c_common_type_for_size(), convert(), current_binding_level, DECL_ALIGN, decl_attributes(), DECL_INITIAL, DECL_MODE, DECL_NAME, DECL_SIZE, DECL_SIZE_UNIT, DECL_USER_ALIGN, error(), error_mark_node, global_binding_level, in_parm_level_p(), int_fits_type_p(), integer_type_node, integer_zero_node, layout_type(), long_long_integer_type_node, MAX, min_precision(), rest_of_type_compilation(), TREE_CHAIN, tree_int_cst_lt(), tree_int_cst_sgn(), TREE_PURPOSE, TREE_TYPE, TREE_UNSIGNED, TREE_VALUE, TRUE, TYPE_ALIGN, TYPE_MAIN_VARIANT, TYPE_MAX_VALUE, TYPE_MIN_VALUE, TYPE_MODE, TYPE_NEXT_VARIANT, TYPE_PACKED, TYPE_PRECISION, TYPE_SIZE, TYPE_SIZE_UNIT, TYPE_USER_ALIGN, TYPE_VALUES, and warning.
| void finish_function | ( | int | nested, | |
| int | can_defer_p | |||
| ) |
Definition at line 6783 of file c-decl.c.
References BLOCK_SUPERCONTEXT, c_expand_body(), c_expand_return(), C_FUNCTION_IMPLICIT_INT, cfun, current_function_decl, current_function_returns_abnormally, current_function_returns_null, current_function_returns_value, DECL_CONTEXT, DECL_INITIAL, DECL_INLINE, DECL_NAME, DECL_RESULT, DECL_SAVED_TREE, DEFAULT_MAIN_RETURN, extra_warnings, finish_fname_decls(), finish_stmt_tree(), flag_hosted, flag_isoc99, free_after_compilation(), free_after_parsing(), integer_type_node, integer_zero_node, MAIN_NAME_P, NULL, poplevel(), TREE_CODE, TREE_READONLY, TREE_TYPE, TYPE_MAIN_VARIANT, warn_main, warn_return_type, and warning.
Definition at line 5413 of file c-decl.c.
References _, ATTR_FLAG_TYPE_IN_PLACE, bitsize_int, c_bool_type_node, C_DECL_VARIABLE_SIZE, C_TYPE_FIELDS_READONLY, C_TYPE_FIELDS_VOLATILE, C_TYPE_VARIABLE_SIZE, CHAR_TYPE_SIZE, compare_tree_int(), COMPLETE_TYPE_P, constant_expression_warning(), current_binding_level, DECL_ALIGN, decl_attributes(), DECL_BIT_FIELD, DECL_CONTEXT, DECL_INITIAL, DECL_MODE, DECL_NAME, DECL_PACKED, DECL_SIZE, DECL_USER_ALIGN, element, EMPTY_FIELD_BOUNDARY, error(), expand_decl(), field_decl_cmp(), flag_objc, flexible_array_type_p(), ggc_alloc, global_binding_level, HOST_WIDE_INT, IDENTIFIER_POINTER, in_parm_level_p(), integer_type_node, integer_zerop(), layout_array_type(), layout_decl(), layout_type(), len, list_length(), MAX, min_precision(), gcc_target::ms_bitfield_layout_p, NULL, NULL_TREE, objc_check_decl(), PCC_BITFIELD_TYPE_MATTERS, pedantic, pedwarn(), prev, qsort(), rest_of_decl_compilation(), rest_of_type_compilation(), SET_DECL_C_BIT_FIELD, STRIP_NOPS, t1, targetm, TREE_CHAIN, TREE_CODE, tree_int_cst_sgn(), tree_low_cst(), TREE_READONLY, TREE_THIS_VOLATILE, TREE_TYPE, TREE_UNSIGNED, TREE_VALUE, TYPE_ALIGN, TYPE_DOMAIN, TYPE_FIELDS, TYPE_LANG_SPECIFIC, TYPE_MAIN_VARIANT, TYPE_MAX_VALUE, TYPE_MIN_VALUE, TYPE_MODE, TYPE_NAME, TYPE_NEXT_VARIANT, TYPE_PACKED, TYPE_PRECISION, TYPE_SIZE, TYPE_TRANSPARENT_UNION, TYPE_USER_ALIGN, unsigned_type_node, warning, x, and is::y.
Definition at line 3524 of file c-decl.c.
References flexible_array_type_p(), NULL_TREE, TREE_CHAIN, TREE_CODE, TREE_TYPE, TYPE_DOMAIN, TYPE_FIELDS, TYPE_MAX_VALUE, TYPE_SIZE, and x.
| tree get_parm_info | ( | int | void_at_end | ) | [read] |
Definition at line 5084 of file c-decl.c.
References chainon(), current_binding_level, DECL_ARG_TYPE, DECL_NAME, DECL_REGISTER, error(), getdecls(), gettags(), integer_type_node, INTEGRAL_TYPE_P, next, nreverse(), NULL_TREE, order, PROMOTE_PROTOTYPES, storedecls(), TREE_ASM_WRITTEN, TREE_CHAIN, TREE_CODE, tree_cons, TREE_READONLY, TREE_THIS_VOLATILE, TREE_TYPE, TREE_VALUE, TYPE_PRECISION, types, void_type_node, and VOID_TYPE_P.
| tree gettags | ( | ) |
| int global_bindings_p | ( | void | ) |
Definition at line 403 of file c-decl.c.
References current_binding_level, and global_binding_level.
| static tree grokdeclarator | ( | tree | declarator, | |
| tree | declspecs, | |||
| enum decl_context | decl_context, | |||
| int | initialized | |||
| ) | [static] |
Definition at line 3584 of file c-decl.c.
References abort, arg_types, ATTR_FLAG_ARRAY_NEXT, ATTR_FLAG_DECL_NEXT, ATTR_FLAG_FUNCTION_NEXT, BITFIELD, bitsize_zero_node, build(), build_array_type(), build_complex_type(), build_decl, build_decl_attribute_variant(), build_function_type(), build_index_type(), build_pointer_type(), build_range_type(), c_apply_type_quals_to_decl(), c_build_qualified_type(), c_common_signed_type(), c_common_unsigned_type(), C_DECL_VARIABLE_SIZE, C_FUNCTION_IMPLICIT_INT, C_IS_RESERVED_WORD, c_mark_addressable(), C_RID_CODE, C_TYPE_FIELDS_VOLATILE, c_type_promotes_to(), C_TYPE_VARIABLE_SIZE, C_TYPEDEF_EXPLICITLY_SIGNED, chainon(), char_type_node, COMPLETE_OR_UNBOUND_ARRAY_TYPE_P, COMPLETE_TYPE_P, complex_double_type_node, complex_float_type_node, complex_integer_type_node, complex_long_double_type_node, constant_expression_warning(), convert(), current_binding_level, current_function_decl, DECL_ARG_TYPE, DECL_ARG_TYPE_AS_WRITTEN, DECL_ATTRIBUTES, decl_attributes(), DECL_DECLARED_INLINE_P, DECL_EXTERNAL, DECL_IN_SYSTEM_HEADER, DECL_INLINE, DECL_LANG_SPECIFIC, DECL_NONADDRESSABLE_P, DECL_REGISTER, DECL_THREAD_LOCAL, DEPRECATED_SUPPRESS, DID_INLINE_FUNC, double_type_node, error(), error_mark_node, extra_warnings, FALSE, FIELD, flag_gen_aux_info, flag_inline_trees, flag_isoc99, flag_signed_bitfields, flexible_array_type_p(), float_type_node, fold(), FUNCDEF, ggc_alloc_cleared, global_binding_level, grokparms(), gcc_target::have_tls, i, IDENTIFIER_POINTER, in_system_header, index_type, int, integer_one_node, integer_type_node, integer_zerop(), INTEGRAL_TYPE_P, last_function_parm_tags, layout_type(), long_double_type_node, long_integer_type_node, long_long_integer_type_node, long_long_unsigned_type_node, long_unsigned_type_node, lookup_name(), MAIN_NAME_P, NORMAL, NULL_TREE, ok(), PARM, pedantic, pedwarn(), pedwarn_c99(), RID_AUTO, RID_CHAR, RID_COMPLEX, RID_CONST, RID_EXTERN, RID_INLINE, RID_INT, RID_LAST_MODIFIER, RID_LONG, RID_REGISTER, RID_RESTRICT, RID_SHORT, RID_SIGNED, RID_STATIC, RID_THREAD, RID_TYPEDEF, RID_UNSIGNED, RID_VOLATILE, ridpointers, short_integer_type_node, short_unsigned_type_node, signed_char_type_node, size, size_one_node, size_zero_node, sizetype, split_specs_attrs(), STRIP_TYPE_NOPS, targetm, TREE_CHAIN, TREE_CODE, TREE_CONSTANT, TREE_DEPRECATED, tree_int_cst_sgn(), TREE_OPERAND, TREE_OVERFLOW, TREE_PUBLIC, TREE_PURPOSE, TREE_STATIC, TREE_TYPE, TREE_VALUE, TRUE, TYPE_ALIGN, TYPE_CONTEXT, TYPE_DOMAIN, TYPE_MAIN_VARIANT, TYPE_QUAL_CONST, TYPE_QUAL_RESTRICT, TYPE_QUAL_VOLATILE, TYPE_QUALS, TYPE_READONLY, TYPE_RESTRICT, TYPE_SIZE, TYPE_SIZE_UNIT, TYPE_UNQUALIFIED, TYPE_VOLATILE, TYPENAME, unsigned_char_type_node, unsigned_type_node, variable_size(), VOID_TYPE_P, warn_deprecated_use(), warn_implicit_int, warn_long_long, warn_return_type, and warning.
Definition at line 5325 of file c-decl.c.
References BITFIELD, DECL_INITIAL, FIELD, finish_decl(), flag_iso, flag_ms_extensions, flag_objc, grokdeclarator(), NULL, NULL_TREE, objc_check_decl(), TREE_CODE, TREE_TYPE, TREE_VALUE, TYPE_NAME, and warning.
Definition at line 4987 of file c-decl.c.
References COMPLETE_TYPE_P, DECL_NAME, error(), error_mark_node, IDENTIFIER_POINTER, in_system_header, last_function_parm_tags, last_function_parms, pedwarn(), TREE_CHAIN, TREE_CODE, TREE_PURPOSE, TREE_TYPE, TREE_VALUE, TYPE_MAIN_VARIANT, warn_strict_prototypes, and warning.
Definition at line 2833 of file c-decl.c.
References decl_attributes(), grokdeclarator(), specs, split_specs_attrs(), TREE_CODE, TREE_PURPOSE, TREE_VALUE, and TYPENAME.
Definition at line 2854 of file c-decl.c.
References grokdeclarator(), PARM, TREE_CODE, TREE_PURPOSE, and TREE_VALUE.
| static GTY | ( | () | ) | [static] |
Definition at line 2172 of file c-decl.c.
References error(), IDENTIFIER_POINTER, mesg_implicit_function_declaration, and warning.
Definition at line 2112 of file c-decl.c.
References build_decl, decl_attributes(), DECL_EXTERNAL, default_function_type, flag_objc, gen_aux_info_record(), IDENTIFIER_GLOBAL_VALUE, IDENTIFIER_IMPLICIT_DECL, IDENTIFIER_POINTER, implicit_decl_warning(), NULL, NULL_TREE, objc_check_decl(), pushdecl(), rest_of_decl_compilation(), TREE_PUBLIC, warn_traditional, and warning.
| int in_parm_level_p | ( | ) |
Definition at line 738 of file c-decl.c.
References chainon(), current_binding_level, and TREE_USED.
| int kept_level_p | ( | void | ) |
Definition at line 5786 of file c-decl.c.
References layout_array_type(), layout_type(), TREE_CODE, and TREE_TYPE.
Definition at line 2251 of file c-decl.c.
References build_decl, C_DECLARED_LABEL_FLAG, current_function_decl, DECL_CONTEXT, DECL_MODE, DECL_SOURCE_FILE, DECL_SOURCE_LINE, error(), IDENTIFIER_LABEL_VALUE, IDENTIFIER_POINTER, input_filename, lineno, named_labels, NULL_TREE, shadow_label(), tree_cons, and void_type_node.
Definition at line 2507 of file c-decl.c.
References current_binding_level, global_binding_level, IDENTIFIER_GLOBAL_VALUE, IDENTIFIER_LOCAL_VALUE, and val.
Definition at line 2523 of file c-decl.c.
References current_binding_level, DECL_NAME, global_binding_level, IDENTIFIER_GLOBAL_VALUE, IDENTIFIER_LOCAL_VALUE, and TREE_CHAIN.
| static tree lookup_tag | ( | enum tree_code | code, | |
| tree | name, | |||
| struct binding_level * | binding_level, | |||
| int | thislevel_only | |||
| ) | [static] |
Definition at line 2422 of file c-decl.c.
References input_filename, binding_level::level_chain, lineno, NULL_TREE, pending_invalid_xref, pending_invalid_xref_file, pending_invalid_xref_line, pending_xref_error(), tail, TREE_CHAIN, TREE_CODE, TREE_PURPOSE, and TREE_VALUE.
Definition at line 2484 of file c-decl.c.
References current_binding_level, binding_level::level_chain, NULL_TREE, tail, TREE_CHAIN, TREE_PURPOSE, and TREE_VALUE.
| static struct binding_level* make_binding_level | ( | void | ) | [static, read] |
Definition at line 374 of file c-decl.c.
References free_binding_level, ggc_alloc, binding_level::level_chain, and result.
| void parmlist_tags_warning | ( | ) |
Definition at line 5185 of file c-decl.c.
References current_binding_level, IDENTIFIER_POINTER, pedantic, TREE_CHAIN, TREE_CODE, TREE_PURPOSE, TREE_VALUE, and warning.
Definition at line 2470 of file c-decl.c.
References IDENTIFIER_POINTER, pending_invalid_xref, pending_invalid_xref_file, and pending_invalid_xref_line.
| static void pop_binding_level | ( | struct binding_level ** | lp | ) | [static] |
Definition at line 389 of file c-decl.c.
References free_binding_level, binding_level::level_chain, and memset.
| void pop_label_level | ( | ) |
Definition at line 779 of file c-decl.c.
References C_DECLARED_LABEL_FLAG, chainon(), DECL_NAME, DECL_SOURCE_LINE, define_label(), IDENTIFIER_LABEL_VALUE, input_filename, lineno, named_labels, binding_level::names, pop_binding_level(), prev, binding_level::shadowed, shadowed_labels, TREE_CHAIN, TREE_USED, TREE_VALUE, and warn_unused_label.
| tree poplevel | ( | int | keep, | |
| int | reverse, | |||
| int | functionbody | |||
| ) |
Definition at line 516 of file c-decl.c.
References BLOCK, BLOCK_SUBBLOCKS, BLOCK_SUPERCONTEXT, BLOCK_VARS, chainon(), clear_limbo_values(), COMPLETE_TYPE_P, current_binding_level, current_function_decl, DECL_ABSTRACT_ORIGIN, DECL_ASSEMBLER_NAME, DECL_EXTERNAL, DECL_INITIAL, DECL_NAME, decls, define_label(), error(), getdecls(), IDENTIFIER_LABEL_VALUE, IDENTIFIER_LOCAL_VALUE, IDENTIFIER_POINTER, input_filename, lineno, make_node, named_labels, nreverse(), pop_binding_level(), TREE_ADDRESSABLE, TREE_ASM_WRITTEN, TREE_CHAIN, TREE_CODE, TREE_PURPOSE, TREE_USED, TREE_VALUE, TYPE_CONTEXT, TYPE_NAME, warn_about_unused_variables(), and warn_unused_label.
| void push_label_level | ( | ) |
Definition at line 761 of file c-decl.c.
References binding_level::level_chain, make_binding_level(), named_labels, binding_level::names, binding_level::shadowed, and shadowed_labels.
Definition at line 3344 of file c-decl.c.
References current_binding_level, decl_attributes(), DECL_NAME, finish_decl(), grokdeclarator(), immediate_size_expand, lookup_name(), NULL_TREE, PARM, pedantic, pushdecl(), TREE_CODE, tree_cons, TREE_PURPOSE, and TREE_VALUE.
Definition at line 1725 of file c-decl.c.
References b, build_type_copy(), COMPLETE_TYPE_P, comptypes(), current_binding_level, current_function_decl, DECL_ABSTRACT_ORIGIN, DECL_ARGUMENTS, DECL_BUILT_IN, DECL_BUILT_IN_CLASS, DECL_BUILT_IN_NONANSI, DECL_CONTEXT, DECL_DECLARED_INLINE_P, DECL_EXTERNAL, DECL_FUNCTION_CODE, DECL_IN_SYSTEM_HEADER, DECL_INITIAL, DECL_INLINE, DECL_LANG_SPECIFIC, DECL_NAME, DECL_NUM_STMTS, DECL_ORIGINAL_TYPE, DECL_RESULT, DECL_SAVED_INSNS, DECL_SOURCE_FILE, DECL_SOURCE_LINE, duplicate_decls(), element, error_mark_node, ggc_alloc_cleared, global_binding_level, IDENTIFIER_GLOBAL_VALUE, IDENTIFIER_IMPLICIT_DECL, IDENTIFIER_LIMBO_VALUE, IDENTIFIER_LOCAL_VALUE, IDENTIFIER_POINTER, integer_type_node, lookup_name_current_level(), binding_level::names, NULL_TREE, pedwarn(), binding_level::shadowed, TREE_ADDRESSABLE, TREE_ASM_WRITTEN, TREE_CHAIN, TREE_CODE, tree_cons, TREE_PUBLIC, TREE_THIS_VOLATILE, TREE_TYPE, TREE_USED, TYPE_ARG_TYPES, TYPE_MAIN_VARIANT, TYPE_NAME, warn_if_shadowing(), warn_nested_externs, and warning.
Definition at line 2096 of file c-decl.c.
References b, current_binding_level, global_binding_level, and pushdecl().
| void pushlevel | ( | int | tag_transparent | ) |
Definition at line 452 of file c-decl.c.
References clear_binding_level, current_binding_level, global_binding_level, binding_level::level_chain, make_binding_level(), named_labels, and NULL_BINDING_LEVEL.
Definition at line 838 of file c-decl.c.
References b, build_decl, current_binding_level, DECL_CONTEXT, binding_level::level_chain, NULL_TREE, pushdecl(), tree_cons, TYPE_CONTEXT, TYPE_NAME, and TYPE_STUB_DECL.
Definition at line 7425 of file c-decl.c.
References build_decl, get_identifier(), int, pushdecl(), and ridpointers.
Definition at line 2189 of file c-decl.c.
References current_binding_level, DECL_CONTEXT, DECL_DECLARED_INLINE_P, DECL_EXTERNAL, DECL_IN_SYSTEM_HEADER, DECL_INITIAL, NULL_TREE, TREE_ASM_WRITTEN, TREE_CODE, and TREE_PUBLIC.
Definition at line 2819 of file c-decl.c.
References error(), NULL_TREE, TREE_OPERAND, TREE_STATIC, and TREE_TYPE.
Definition at line 750 of file c-decl.c.
References BLOCK_SUBBLOCKS, BLOCK_VARS, chainon(), and current_binding_level.
Definition at line 2301 of file c-decl.c.
References dup(), error(), IDENTIFIER_LABEL_VALUE, IDENTIFIER_POINTER, lookup_label(), named_labels, NULL_TREE, shadowed_labels, TREE_CHAIN, tree_cons, and TREE_VALUE.
Definition at line 2706 of file c-decl.c.
References current_binding_level, error(), in_system_header, lookup_tag(), lookup_tag_reverse(), make_node, pedwarn(), pending_invalid_xref, pushtag(), specs, split_specs_attrs(), TREE_CHAIN, TREE_CODE, TREE_VALUE, and warning.
Definition at line 2880 of file c-decl.c.
References C_DECL_VARIABLE_SIZE, COMPLETE_TYPE_P, current_binding_level, DECL_ATTRIBUTES, decl_attributes(), DECL_COMMON, DECL_CONTEXT, DECL_DECLARED_INLINE_P, DECL_EXTERNAL, DECL_INITIAL, DECL_NAME, DECL_RTL_SET_P, DECL_THREAD_LOCAL, DECL_UNINLINABLE, DEPRECATED_NORMAL, DEPRECATED_SUPPRESS, error(), error_mark_node, expand_decl(), flag_no_common, gen_aux_info_record(), global_binding_level, grokdeclarator(), IDENTIFIER_POINTER, lookup_attribute(), MAIN_NAME_P, maybe_apply_pragma_weak(), NORMAL, pushdecl(), TREE_CODE, TREE_PUBLIC, TREE_STATIC, TREE_TYPE, TYPE_ARG_TYPES, TYPE_SIZE, warn_main, and warning.
Definition at line 5801 of file c-decl.c.
References C_TYPE_BEING_DEFINED, current_binding_level, enum_next_value, enum_overflow, error(), flag_short_enums, IDENTIFIER_POINTER, integer_zero_node, lookup_tag(), make_node, pushtag(), TREE_CODE, TYPE_PACKED, and TYPE_VALUES.
Definition at line 6072 of file c-decl.c.
References announce_function(), args, build_decl, build_function_type(), C_DECL_ANTICIPATED, c_promoting_integer_type_p(), char_type_node, COMPLETE_OR_VOID_TYPE_P, current_binding_level, current_function_decl, current_function_parm_tags, current_function_parms, current_function_prototype_file, current_function_prototype_line, current_function_returns_abnormally, current_function_returns_null, current_function_returns_value, DECL_ASSEMBLER_NAME, DECL_ATTRIBUTES, decl_attributes(), DECL_BUILT_IN, DECL_DECLARED_INLINE_P, DECL_EXTERNAL, DECL_INITIAL, DECL_NAME, DECL_RESULT, DECL_SOURCE_FILE, DECL_SOURCE_LINE, DECL_UNINLINABLE, declare_parm_level(), error(), error_mark_node, FUNCDEF, global_binding_level, grokdeclarator(), IDENTIFIER_IMPLICIT_DECL, immediate_size_expand, integer_type_node, last_function_parm_tags, last_function_parms, lookup_attribute(), lookup_name_current_level(), MAIN_NAME_P, make_decl_rtl(), maybe_apply_pragma_weak(), named_labels, NULL, NULL_TREE, pedwarn_c99(), pushdecl(), pushlevel(), shadowed_labels, start_fname_decls(), TREE_ADDRESSABLE, TREE_CHAIN, TREE_CODE, TREE_PUBLIC, TREE_STATIC, TREE_TYPE, TREE_UNSIGNED, TREE_USED, TREE_VALUE, TYPE_ARG_TYPES, TYPE_MAIN_VARIANT, TYPE_PRECISION, unsigned_type_node, void_type_node, warn_main, warn_missing_declarations, warn_missing_prototypes, warn_strict_prototypes, and warning.
Definition at line 5282 of file c-decl.c.
References C_TYPE_BEING_DEFINED, current_binding_level, error(), flag_pack_struct, IDENTIFIER_POINTER, lookup_tag(), make_node, pushtag(), TREE_CODE, TYPE_FIELDS, and TYPE_PACKED.
Definition at line 6311 of file c-decl.c.
References actual, begin_stmt_tree(), build_decl, build_type_copy(), cfun, chainon(), COMPLETE_TYPE_P, comptypes(), current_binding_level, current_function_decl, current_function_parm_tags, current_function_parms, current_function_prototype_file, current_function_prototype_line, DECL_ARG_TYPE, DECL_ARGUMENTS, decl_function_context(), DECL_LANG_SPECIFIC, DECL_NAME, DECL_SAVED_TREE, DECL_SOURCE_FILE, DECL_SOURCE_LINE, DECL_WEAK, double_type_node, error(), error_mark_node, extra_warnings, flag_isoc99, float_type_node, gen_aux_info_record(), get_pending_sizes(), getdecls(), gettags(), IDENTIFIER_LOCAL_VALUE, IDENTIFIER_POINTER, immediate_size_expand, init_function_start(), input_filename, INT, integer_type_node, INTEGRAL_TYPE_P, last, layout_decl(), lineno, next, nreverse(), NULL, NULL_TREE, pedantic, pedwarn(), PROMOTE_PROTOTYPES, pushdecl(), SAVE_EXPR_CONTEXT, storedecls(), storetags(), tail, TREE_CHAIN, TREE_CODE, tree_cons, tree_last(), TREE_PURPOSE, TREE_TYPE, TREE_VALUE, TYPE_ACTUAL_ARG_TYPES, TYPE_ARG_TYPES, TYPE_MAIN_VARIANT, TYPE_PRECISION, void_type_node, VOID_TYPE_P, warn_shadow, warning, and WFE_Start_Function().
Definition at line 1660 of file c-decl.c.
References chain_member(), current_binding_level, DECL_EXTERNAL, DECL_FROM_INLINE, DECL_NAME, DECL_SOURCE_LINE, error_mark_node, IDENTIFIER_GLOBAL_VALUE, IDENTIFIER_POINTER, pedwarn(), shadow_warning(), TREE_CODE, and warn_shadow.
Definition at line 5231 of file c-decl.c.
References current_binding_level, lookup_tag(), make_node, pushtag(), TREE_CODE, TREE_UNSIGNED, TYPE_ALIGN, TYPE_MAX_VALUE, TYPE_MIN_VALUE, TYPE_MODE, TYPE_PRECISION, TYPE_USER_ALIGN, and unsigned_type_node.
tree current_function_parm_tags [static] |
tree current_function_parms [static] |
const char* current_function_prototype_file [static] |
int current_function_prototype_line [static] |
enum deprecated_states deprecated_state = DEPRECATED_NORMAL [static] |
tree enum_next_value [static] |
int enum_overflow [static] |
int keep_next_if_subblocks [static] |
int keep_next_level_flag [static] |
tree last_function_parm_tags [static] |
tree last_function_parms [static] |
| const char* pending_invalid_xref_file |
1.5.6