Home
last modified time | relevance | path

Searched refs:newdecl (Results 1 – 25 of 32) sorted by relevance

12

/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Ddecl.cc988 decls_match (tree newdecl, tree olddecl, bool record_versions /* = true */) in decls_match() argument
992 if (newdecl == olddecl) in decls_match()
995 if (TREE_CODE (newdecl) != TREE_CODE (olddecl)) in decls_match()
1000 gcc_assert (DECL_P (newdecl)); in decls_match()
1002 if (TREE_CODE (newdecl) == FUNCTION_DECL) in decls_match()
1006 tree t1 = (DECL_USE_TEMPLATE (newdecl) in decls_match()
1007 ? DECL_TI_TEMPLATE (newdecl) in decls_match()
1015 if (CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl) in decls_match()
1016 && ! (DECL_EXTERN_C_P (newdecl) in decls_match()
1023 && DECL_EXTERN_C_P (olddecl) && !DECL_EXTERN_C_P (newdecl)) in decls_match()
[all …]
Dpt.cc27197 tree newdecl = build_enumerator (DECL_NAME (decl), value, newtag, in tsubst_enum() local
27203 TREE_DEPRECATED (newdecl) = TREE_DEPRECATED (decl); in tsubst_enum()
27204 TREE_UNAVAILABLE (newdecl) = TREE_UNAVAILABLE (decl); in tsubst_enum()
29326 tree newdecl in rewrite_template_parm() local
29329 SET_DECL_TEMPLATE_PARM_P (newdecl); in rewrite_template_parm()
29337 newdecl, newtype); in rewrite_template_parm()
29340 TYPE_STUB_DECL (newtype) = TYPE_NAME (newtype) = newdecl; in rewrite_template_parm()
29348 DECL_TEMPLATE_RESULT (newdecl) in rewrite_template_parm()
29351 DECL_ARTIFICIAL (DECL_TEMPLATE_RESULT (newdecl)) = true; in rewrite_template_parm()
29384 DECL_TEMPLATE_PARMS (newdecl) = ttparms; in rewrite_template_parm()
[all …]
DChangeLog-2012821 keep the merged decl builtin also if newdecl is a gnu_inline
2747 newdecl, copy DECL_ALIGN to newdecl and or DECL_USER_ALIGN bits.
DChangeLog-2014765 tls model to newdecl symtab node, instead merge to olddecl.
1253 newdecl, not olddecl.
2371 do not copy symtab pointer; before freeing newdecl remove it
DChangeLog-20152689 * decl.c (duplicate_decls): Adjust DECL_COMDAT of newdecl.
3159 newdecl in diagnostics, not input_location.
3759 only if the location of newdecl doesn't match the location of olddecl.
DChangeLog-2005162 clobbering newdecl.
400 olddecl and newdecl disagreement on __thread property.
DChangeLog-20193751 * decl.c (duplicate_decls): Assert a template newdecl has no
4254 variant that has newdecl as TYPE_NAME if any.
4276 * decl.c (duplicate_decls): When newdecl's type is its main variant,
DChangeLog-19942216 * decl.c (decls_match): Say the types don't match if newdecl ends up
3474 declarations were in C context. Bash TREE_TYPE (newdecl) here.
4743 * decl.c (pushtag): Initialize newdecl.
DChangeLog-20022267 olddecl to newdecl when newdecl is a specialization of the
DChangeLog1263 from non-templated friend even if newdecl isn't a definition.
DChangeLog-199728 * decl.c (duplicate_decls): Make the newdecl virtual if the
DChangeLog-20061060 newdecl or olddecl is error_mark_node.
DChangeLog-20093224 (duplicate_decls): Adjust DECL_CONTEXT of newdecl's parms.
DChangeLog-20171028 newdecl to corresponding __builtin_ if any.
DChangeLog-20041623 * decl.c (duplicate_decls): Copy TREE_NOTHROW from newdecl to olddecl.
/netbsd/src/external/gpl3/gcc/dist/gcc/
Domp-offload.cc2263 tree newdecl in execute_oacc_device_lower() local
2266 adjusted = (TREE_TYPE (newdecl) != oldtype in execute_oacc_device_lower()
2267 || newdecl != decl); in execute_oacc_device_lower()
2269 adjusted_vars.put (decl, newdecl); in execute_oacc_device_lower()
Dvarasm.cc5895 merge_weak (tree newdecl, tree olddecl) in merge_weak() argument
5897 if (DECL_WEAK (newdecl) == DECL_WEAK (olddecl)) in merge_weak()
5899 if (DECL_WEAK (newdecl) && TARGET_SUPPORTS_WEAK) in merge_weak()
5905 if (TREE_VALUE (*pwd) == newdecl) in merge_weak()
5914 if (DECL_WEAK (newdecl)) in merge_weak()
5933 if (! TREE_PUBLIC (olddecl) && TREE_PUBLIC (newdecl)) in merge_weak()
5935 "existing, static definition", newdecl); in merge_weak()
5942 if (TREE_VALUE (wd) == newdecl) in merge_weak()
5959 mark_weak (newdecl); in merge_weak()
Dattribs.cc1685 merge_decl_attributes (tree olddecl, tree newdecl) in merge_decl_attributes() argument
1688 DECL_ATTRIBUTES (newdecl)); in merge_decl_attributes()
Dtree.h4130 copy_decl_built_in_function (tree newdecl, const_tree olddecl) in copy_decl_built_in_function() argument
4132 tree_function_decl &newfndecl = FUNCTION_DECL_CHECK (newdecl)->function_decl; in copy_decl_built_in_function()
Dbuiltins.cc7453 tree newdecl = builtin_decl_explicit (BUILT_IN_MEMCMP); in expand_builtin() local
7454 TREE_OPERAND (exp, 1) = build_fold_addr_expr (newdecl); in expand_builtin()
DFSFChangeLog2486 * c-decl.c (duplicate_decls): Set DECL_IGNORED_P in newdecl if
Dtarget.def2169 @code{DECL_ATTRIBUTES} of @var{olddecl} and @var{newdecl}.\n\
2170 @var{newdecl} is a duplicate declaration of @var{olddecl}. Examples of\n\
2186 tree, (tree olddecl, tree newdecl),
DChangeLog-20013116 * c-decl.c (duplicate_decls): Revert rth's patch. If newdecl
30853 olddecl has argument types and newdecl has none, use the argument
/netbsd/src/external/gpl3/gcc/dist/gcc/config/mips/
Dmips.cc1468 mips_merge_decl_attributes (tree olddecl, tree newdecl) in mips_merge_decl_attributes() argument
1473 ^ mips_get_compress_on_flags (DECL_ATTRIBUTES (newdecl))); in mips_merge_decl_attributes()
1476 DECL_NAME (newdecl), mips_get_compress_on_name (diff)); in mips_merge_decl_attributes()
1479 ^ mips_get_compress_off_flags (DECL_ATTRIBUTES (newdecl))); in mips_merge_decl_attributes()
1482 DECL_NAME (newdecl), mips_get_compress_off_name (diff)); in mips_merge_decl_attributes()
1485 DECL_ATTRIBUTES (newdecl)); in mips_merge_decl_attributes()
/netbsd/src/external/gpl3/gcc/dist/gcc/doc/
Dtm.texi10577 @deftypefn {Target Hook} tree TARGET_MERGE_DECL_ATTRIBUTES (tree @var{olddecl}, tree @var{newdecl})
10580 @code{DECL_ATTRIBUTES} of @var{olddecl} and @var{newdecl}.
10581 @var{newdecl} is a duplicate declaration of @var{olddecl}. Examples of

12