Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/gcc/cp/
Ddecl.c929 decls_match (tree newdecl, tree olddecl) in decls_match() argument
933 if (newdecl == olddecl) in decls_match()
936 if (TREE_CODE (newdecl) != TREE_CODE (olddecl)) in decls_match()
941 if (TREE_CODE (newdecl) == FUNCTION_DECL) in decls_match()
943 tree f1 = TREE_TYPE (newdecl); in decls_match()
948 if (CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl) in decls_match()
949 && ! (DECL_EXTERN_C_P (newdecl) in decls_match()
961 || (DECL_IN_SYSTEM_HEADER (newdecl) && !DECL_CLASS_SCOPE_P (newdecl)) in decls_match()
968 TREE_TYPE (newdecl) = TREE_TYPE (olddecl); in decls_match()
975 && (DECL_EXTERN_C_P (newdecl) in decls_match()
[all …]
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.
DChangeLog1149 newdecl or olddecl is error_mark_node.
3746 clobbering newdecl.
3984 olddecl and newdecl disagreement on __thread property.
DChangeLog-20022267 olddecl to newdecl when newdecl is a specialization of the
DChangeLog-199728 * decl.c (duplicate_decls): Make the newdecl virtual if the
DChangeLog-20041623 * decl.c (duplicate_decls): Copy TREE_NOTHROW from newdecl to olddecl.
/freebsd-12-stable/contrib/gcc/
Dc-decl.c1053 diagnose_arglist_conflict (tree newdecl, tree olddecl, in diagnose_arglist_conflict() argument
1062 (TYPE_ARG_TYPES (newtype) == 0 && DECL_INITIAL (newdecl) == 0))) in diagnose_arglist_conflict()
1094 validate_proto_after_old_defn (tree newdecl, tree newtype, tree oldtype) in validate_proto_after_old_defn() argument
1124 "than previous old-style definition", newdecl); in validate_proto_after_old_defn()
1130 "than previous old-style definition", newdecl); in validate_proto_after_old_defn()
1140 newdecl, i); in validate_proto_after_old_defn()
1152 newdecl); in validate_proto_after_old_defn()
1182 diagnose_mismatched_decls (tree newdecl, tree olddecl, in diagnose_mismatched_decls() argument
1195 if (olddecl == error_mark_node || newdecl == error_mark_node) in diagnose_mismatched_decls()
1198 *newtypep = newtype = TREE_TYPE (newdecl); in diagnose_mismatched_decls()
[all …]
Dvarasm.c4528 merge_weak (tree newdecl, tree olddecl) in merge_weak() argument
4530 if (DECL_WEAK (newdecl) == DECL_WEAK (olddecl)) in merge_weak()
4532 if (DECL_WEAK (newdecl) && SUPPORTS_WEAK) in merge_weak()
4538 if (TREE_VALUE (*pwd) == newdecl) in merge_weak()
4547 if (DECL_WEAK (newdecl)) in merge_weak()
4559 newdecl); in merge_weak()
4567 "in unspecified behavior", newdecl); in merge_weak()
4574 if (TREE_VALUE (wd) == newdecl) in merge_weak()
4591 mark_weak (newdecl); in merge_weak()
Dtree.c3616 merge_decl_attributes (tree olddecl, tree newdecl) in merge_decl_attributes() argument
3619 DECL_ATTRIBUTES (newdecl)); in merge_decl_attributes()
DFSFChangeLog2486 * c-decl.c (duplicate_decls): Set DECL_IGNORED_P in newdecl if
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
DChangeLog.tree-ssa13590 (duplicate_decls): Also copy TREE_LOCUS from olddecl to newdecl.
DChangeLog-20055479 (duplicate_decls): Set TREE_NO_WARNING if olddecl and newdecl
/freebsd-12-stable/contrib/gcc/doc/
Dtm.texi8755 @deftypefn {Target Hook} tree TARGET_MERGE_DECL_ATTRIBUTES (tree @var{olddecl}, tree @var{newdecl})
8758 @code{DECL_ATTRIBUTES} of @var{olddecl} and @var{newdecl}.
8759 @var{newdecl} is a duplicate declaration of @var{olddecl}. Examples of