Home
last modified time | relevance | path

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

/openbsd/gnu/gcc/gcc/
H A Dtree-nested.c870 tree x, field, new_decl; in get_nonlocal_debug_decl() local
919 SET_DECL_VALUE_EXPR (new_decl, x); in get_nonlocal_debug_decl()
920 DECL_HAS_VALUE_EXPR_P (new_decl) = 1; in get_nonlocal_debug_decl()
924 elt->new = new_decl; in get_nonlocal_debug_decl()
928 info->debug_var_chain = new_decl; in get_nonlocal_debug_decl()
930 return new_decl; in get_nonlocal_debug_decl()
1201 tree x, new_decl; in get_local_debug_decl() local
1227 SET_DECL_VALUE_EXPR (new_decl, x); in get_local_debug_decl()
1232 elt->new = new_decl; in get_local_debug_decl()
1236 info->debug_var_chain = new_decl; in get_local_debug_decl()
[all …]
H A Dtree-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()
2782 DECL_ARTIFICIAL (new_decl) = 1; in tree_function_versioning()
2792 XEXP (DECL_RTL (new_decl), 0) = in tree_function_versioning()
2802 id.dst_fn = new_decl; in tree_function_versioning()
2814 current_function_decl = new_decl; in tree_function_versioning()
2824 DECL_ARGUMENTS (new_decl) = in tree_function_versioning()
[all …]
H A Dcgraphunit.c1774 tree new_decl, in cgraph_copy_node_for_versioning() argument
1784 new_version = cgraph_node (new_decl); in cgraph_copy_node_for_versioning()
1844 tree new_decl; in cgraph_function_versioning() local
1851 new_decl = copy_node (old_decl); in cgraph_function_versioning()
1856 cgraph_copy_node_for_versioning (old_version_node, new_decl, in cgraph_function_versioning()
1860 tree_function_versioning (old_decl, new_decl, tree_map, false); in cgraph_function_versioning()
H A Dc-decl.c1921 warn_if_shadowing (tree new_decl) in warn_if_shadowing() argument
1928 || DECL_IS_BUILTIN (new_decl) in warn_if_shadowing()
1930 || DECL_FROM_INLINE (new_decl)) in warn_if_shadowing()
1942 "non-variable", new_decl); in warn_if_shadowing()
1947 new_decl); in warn_if_shadowing()
1953 && TREE_CODE (new_decl) != FUNCTION_DECL in warn_if_shadowing()
1954 && ((TREE_CODE (new_decl) != VAR_DECL in warn_if_shadowing()
1955 && TREE_CODE (new_decl) != PARM_DECL) in warn_if_shadowing()
1961 "declaration", new_decl); in warn_if_shadowing()
1967 "a built-in function", new_decl); in warn_if_shadowing()
[all …]
H A Domp-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 …]
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dtree-inline.c493 tree new_decl; local
496 new_decl = remap_decl (*tp, id);
497 if (! new_decl)
500 STRIP_TYPE_NOPS (new_decl);
501 *tp = new_decl;
/openbsd/gnu/usr.bin/gcc/gcc/cp/
H A Dpt.c6021 DECL_TEMPLATE_RESULT (r) = new_decl;
6022 TREE_TYPE (r) = TREE_TYPE (new_decl);
6047 DECL_TEMPLATE_RESULT (r) = new_decl;
6048 DECL_TI_TEMPLATE (new_decl) = r;
6049 TREE_TYPE (r) = TREE_TYPE (new_decl);
6050 DECL_TI_ARGS (r) = DECL_TI_ARGS (new_decl);
10189 tree new_decl; local
10217 DECL_INITIAL (new_decl) =
10240 COPY_DECL_ASSEMBLER_NAME (decl, new_decl);
10241 COPY_DECL_RTL (decl, new_decl);
[all …]
/openbsd/gnu/gcc/gcc/cp/
H A Dpt.c6513 tree new_decl; in tsubst_decl() local
6515 new_decl = tsubst (decl, args, complain, in_decl); in tsubst_decl()
6517 if (new_decl == error_mark_node) in tsubst_decl()
6520 DECL_TEMPLATE_RESULT (r) = new_decl; in tsubst_decl()
6521 DECL_TI_TEMPLATE (new_decl) = r; in tsubst_decl()
6522 TREE_TYPE (r) = TREE_TYPE (new_decl); in tsubst_decl()
6523 DECL_TI_ARGS (r) = DECL_TI_ARGS (new_decl); in tsubst_decl()
6524 DECL_CONTEXT (r) = DECL_CONTEXT (new_decl); in tsubst_decl()
H A Ddecl.c1068 check_redeclaration_exception_specification (tree new_decl, in check_redeclaration_exception_specification() argument
1076 new_type = TREE_TYPE (new_decl); in check_redeclaration_exception_specification()
1093 error ("declaration of %qF throws different exceptions", new_decl); in check_redeclaration_exception_specification()