Home
last modified time | relevance | path

Searched refs:new_decl (Results 1 – 8 of 8) sorted by relevance

/trueos/contrib/gcc/
HDtree-nested.c870 tree x, field, new_decl; in get_nonlocal_debug_decl() local
908 new_decl = build_decl (VAR_DECL, DECL_NAME (decl), TREE_TYPE (decl)); in get_nonlocal_debug_decl()
909 DECL_CONTEXT (new_decl) = info->context; in get_nonlocal_debug_decl()
910 DECL_SOURCE_LOCATION (new_decl) = DECL_SOURCE_LOCATION (decl); in get_nonlocal_debug_decl()
911 DECL_ARTIFICIAL (new_decl) = DECL_ARTIFICIAL (decl); in get_nonlocal_debug_decl()
912 DECL_IGNORED_P (new_decl) = DECL_IGNORED_P (decl); in get_nonlocal_debug_decl()
913 TREE_THIS_VOLATILE (new_decl) = TREE_THIS_VOLATILE (decl); in get_nonlocal_debug_decl()
914 TREE_SIDE_EFFECTS (new_decl) = TREE_SIDE_EFFECTS (decl); in get_nonlocal_debug_decl()
915 TREE_READONLY (new_decl) = TREE_READONLY (decl); in get_nonlocal_debug_decl()
916 TREE_ADDRESSABLE (new_decl) = TREE_ADDRESSABLE (decl); in get_nonlocal_debug_decl()
[all …]
HDtree-inline.c509 tree new_decl; in copy_body_r() local
512 new_decl = remap_decl (*tp, id); in copy_body_r()
513 gcc_assert (new_decl); in copy_body_r()
515 STRIP_TYPE_NOPS (new_decl); in copy_body_r()
516 *tp = new_decl; in copy_body_r()
2759 tree_function_versioning (tree old_decl, tree new_decl, varray_type tree_map, in tree_function_versioning() argument
2772 && TREE_CODE (new_decl) == FUNCTION_DECL); in tree_function_versioning()
2776 new_version_node = cgraph_node (new_decl); in tree_function_versioning()
2778 allocate_struct_function (new_decl); in tree_function_versioning()
2780 cfun->function_end_locus = DECL_SOURCE_LOCATION (new_decl); in tree_function_versioning()
[all …]
HDcgraphunit.c1788 tree new_decl, in cgraph_copy_node_for_versioning() argument
1798 new_version = cgraph_node (new_decl); in cgraph_copy_node_for_versioning()
1858 tree new_decl; in cgraph_function_versioning() local
1865 new_decl = copy_node (old_decl); in cgraph_function_versioning()
1870 cgraph_copy_node_for_versioning (old_version_node, new_decl, in cgraph_function_versioning()
1874 tree_function_versioning (old_decl, new_decl, tree_map, false); in cgraph_function_versioning()
HDomp-low.c647 tree new_decl, size; in fixup_remapped_decl() local
649 new_decl = lookup_decl (decl, ctx); in fixup_remapped_decl()
651 TREE_TYPE (new_decl) = remap_type (TREE_TYPE (decl), &ctx->cb); in fixup_remapped_decl()
653 if ((!TREE_CONSTANT (DECL_SIZE (new_decl)) || private_debug) in fixup_remapped_decl()
658 SET_DECL_VALUE_EXPR (new_decl, ve); in fixup_remapped_decl()
659 DECL_HAS_VALUE_EXPR_P (new_decl) = 1; in fixup_remapped_decl()
662 if (!TREE_CONSTANT (DECL_SIZE (new_decl))) in fixup_remapped_decl()
666 size = TYPE_SIZE (TREE_TYPE (new_decl)); in fixup_remapped_decl()
667 DECL_SIZE (new_decl) = size; in fixup_remapped_decl()
671 size = TYPE_SIZE_UNIT (TREE_TYPE (new_decl)); in fixup_remapped_decl()
[all …]
HDc-decl.c1987 warn_if_shadowing (tree new_decl) in warn_if_shadowing() argument
1994 || DECL_IS_BUILTIN (new_decl) in warn_if_shadowing()
1996 || DECL_FROM_INLINE (new_decl)) in warn_if_shadowing()
2000 for (b = I_SYMBOL_BINDING (DECL_NAME (new_decl)); b; b = b->shadowed) in warn_if_shadowing()
2001 if (b->decl && b->decl != new_decl && !b->invisible) in warn_if_shadowing()
2008 "non-variable", new_decl); in warn_if_shadowing()
2013 new_decl); in warn_if_shadowing()
2016 "declaration", new_decl); in warn_if_shadowing()
2021 "a built-in function", new_decl); in warn_if_shadowing()
2026 new_decl); in warn_if_shadowing()
HDChangeLog-200421573 * c-decl.c (duplicate_decls): Rename parameter decl to new_decl.
/trueos/contrib/gcc/cp/
HDpt.c6522 tree new_decl; in tsubst_decl() local
6524 new_decl = tsubst (decl, args, complain, in_decl); in tsubst_decl()
6526 if (new_decl == error_mark_node) in tsubst_decl()
6529 DECL_TEMPLATE_RESULT (r) = new_decl; in tsubst_decl()
6530 DECL_TI_TEMPLATE (new_decl) = r; in tsubst_decl()
6531 TREE_TYPE (r) = TREE_TYPE (new_decl); in tsubst_decl()
6532 DECL_TI_ARGS (r) = DECL_TI_ARGS (new_decl); in tsubst_decl()
6533 DECL_CONTEXT (r) = DECL_CONTEXT (new_decl); in tsubst_decl()
HDdecl.c1081 check_redeclaration_exception_specification (tree new_decl, in check_redeclaration_exception_specification() argument
1089 new_type = TREE_TYPE (new_decl); in check_redeclaration_exception_specification()
1106 error ("declaration of %qF throws different exceptions", new_decl); in check_redeclaration_exception_specification()