Home
last modified time | relevance | path

Searched refs:olddecl (Results 1 – 20 of 20) sorted by relevance

/trueos/contrib/gcc/cp/
HDdecl.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()
944 tree f2 = TREE_TYPE (olddecl); in decls_match()
948 if (CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl) in decls_match()
950 && DECL_EXTERN_C_P (olddecl))) in decls_match()
958 if (p2 == NULL_TREE && DECL_EXTERN_C_P (olddecl) in decls_match()
959 && (DECL_BUILT_IN (olddecl) in decls_match()
962 || (DECL_IN_SYSTEM_HEADER (olddecl) && !DECL_CLASS_SCOPE_P (olddecl)) in decls_match()
968 TREE_TYPE (newdecl) = TREE_TYPE (olddecl); in decls_match()
[all …]
HDChangeLog-199729 olddecl was, just as is done with other attributes of olddecl.
2370 exceptions if -pedantic *or* olddecl !DECL_IN_SYSTEM_HEADER.
2422 if -pedantic, instead of olddecl !DECL_IN_SYSTEM_HEADER.
2447 still but only if !DECL_IN_SYSTEM_HEADER (olddecl).
HDname-lookup.c715 tree olddecl = duplicate_decls (x, t, is_friend); in pushdecl_maybe_friend() local
719 if (olddecl == error_mark_node) in pushdecl_maybe_friend()
722 if (olddecl) in pushdecl_maybe_friend()
HDpt.c2283 tree olddecl; in check_template_shadow() local
2293 olddecl = innermost_non_namespace_value (DECL_NAME (decl)); in check_template_shadow()
2297 if (!olddecl) in check_template_shadow()
2304 if (!DECL_P (olddecl) || !DECL_TEMPLATE_PARM_P (olddecl)) in check_template_shadow()
2310 if (decl == olddecl in check_template_shadow()
2315 error (" shadows template parm %q+#D", olddecl); in check_template_shadow()
HDChangeLog1149 newdecl or olddecl is error_mark_node.
2487 (olddecl).
3984 olddecl and newdecl disagreement on __thread property.
HDChangeLog-20022267 olddecl to newdecl when newdecl is a specialization of the
2268 instantiation olddecl.
HDChangeLog-1998182 (decl_template_parm_p): Change name of olddecl parameter to decl.
6124 Update olddecl's attributes too.
HDChangeLog-1995414 Update olddecl's attributes too.
HDChangeLog-20041623 * decl.c (duplicate_decls): Copy TREE_NOTHROW from newdecl to olddecl.
HDChangeLog-19942217 with a null type, after we've checked if olddecl does.
/trueos/contrib/gcc/
HDc-decl.c1053 diagnose_arglist_conflict (tree newdecl, tree olddecl, in diagnose_arglist_conflict() argument
1058 if (TREE_CODE (olddecl) != FUNCTION_DECL in diagnose_arglist_conflict()
1060 || !((TYPE_ARG_TYPES (oldtype) == 0 && DECL_INITIAL (olddecl) == 0) in diagnose_arglist_conflict()
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()
1197 *oldtypep = oldtype = TREE_TYPE (olddecl); in diagnose_mismatched_decls()
1204 if (TREE_CODE (olddecl) != TREE_CODE (newdecl)) in diagnose_mismatched_decls()
1206 if (!(TREE_CODE (olddecl) == FUNCTION_DECL in diagnose_mismatched_decls()
1207 && DECL_BUILT_IN (olddecl) in diagnose_mismatched_decls()
1208 && !C_DECL_DECLARED_BUILTIN (olddecl))) in diagnose_mismatched_decls()
[all …]
HDvarasm.c4528 merge_weak (tree newdecl, tree olddecl) in merge_weak() argument
4530 if (DECL_WEAK (newdecl) == DECL_WEAK (olddecl)) in merge_weak()
4557 if (TREE_ASM_WRITTEN (olddecl)) in merge_weak()
4564 else if (TREE_USED (olddecl) in merge_weak()
4565 && TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (olddecl))) in merge_weak()
4576 TREE_VALUE (wd) = olddecl; in merge_weak()
4586 mark_weak (olddecl); in merge_weak()
HDtree.c3616 merge_decl_attributes (tree olddecl, tree newdecl) in merge_decl_attributes() argument
3618 return merge_attributes (DECL_ATTRIBUTES (olddecl), in merge_decl_attributes()
HDChangeLog-20013118 olddecl.
30853 olddecl has argument types and newdecl has none, use the argument
30854 types from olddecl.
HDChangeLog-200410378 types to decide on DECL_SIZE save of olddecl.
24350 (merge_decls): Don't clobber olddecl's DECL_CONTEXT.
42619 treatment when olddecl is DECL_BUILT_IN, if C_DECL_INVISIBLE
HDFSFChangeLog.114410 * c-decl.c (duplicate_decls): Set DECL_ABSTRACT_ORIGIN to olddecl
HDChangeLog-20055479 (duplicate_decls): Set TREE_NO_WARNING if olddecl and newdecl
5480 somenow mismatch and olddecl is to be replaced.
HDChangeLog-199815865 Update olddecl's attributes too.
HDChangeLog.tree-ssa13590 (duplicate_decls): Also copy TREE_LOCUS from olddecl to newdecl.
/trueos/contrib/gcc/doc/
HDtm.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