| /netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/ |
| H A D | decl.c | 958 decls_match (tree newdecl, tree olddecl, bool record_versions /* = true */) in decls_match() argument 962 if (newdecl == olddecl) in decls_match() 965 if (TREE_CODE (newdecl) != TREE_CODE (olddecl)) in decls_match() 975 tree f2 = TREE_TYPE (olddecl); in decls_match() 985 tree t2 = (DECL_USE_TEMPLATE (olddecl) in decls_match() 986 ? DECL_TI_TEMPLATE (olddecl) in decls_match() 991 if (CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl) in decls_match() 993 && DECL_EXTERN_C_P (olddecl))) in decls_match() 998 if (DECL_IS_BUILTIN (olddecl) in decls_match() 999 && DECL_EXTERN_C_P (olddecl) && !DECL_EXTERN_C_P (newdecl)) in decls_match() [all …]
|
| H A D | pt.c | 4338 tree olddecl; in check_template_shadow() local 4347 olddecl = innermost_non_namespace_value (DECL_NAME (decl)); in check_template_shadow() 4351 if (!olddecl) in check_template_shadow() 4358 if (!DECL_P (olddecl) || !DECL_TEMPLATE_PARM_P (olddecl)) in check_template_shadow() 4364 if (decl == olddecl in check_template_shadow() 4379 inform (DECL_SOURCE_LOCATION (olddecl), in check_template_shadow() 4380 "template parameter %qD declared here", olddecl); in check_template_shadow() 28319 rewrite_template_parm (tree olddecl, unsigned index, unsigned level, in rewrite_template_parm() argument 28322 if (olddecl == error_mark_node) in rewrite_template_parm() 28325 tree oldidx = get_template_parm_index (olddecl); in rewrite_template_parm() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/cp/ |
| H A D | decl.cc | 988 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() 1009 tree t2 = (DECL_USE_TEMPLATE (olddecl) in decls_match() 1010 ? DECL_TI_TEMPLATE (olddecl) in decls_match() 1015 if (CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl) in decls_match() 1017 && DECL_EXTERN_C_P (olddecl))) in decls_match() 1022 if (DECL_IS_UNDECLARED_BUILTIN (olddecl) in decls_match() 1023 && DECL_EXTERN_C_P (olddecl) && !DECL_EXTERN_C_P (newdecl)) in decls_match() 1027 tree f2 = TREE_TYPE (olddecl); in decls_match() [all …]
|
| H A D | pt.cc | 4468 tree olddecl; in check_template_shadow() local 4477 olddecl = innermost_non_namespace_value (DECL_NAME (decl)); in check_template_shadow() 4481 if (!olddecl) in check_template_shadow() 4488 if (!DECL_P (olddecl) || !DECL_TEMPLATE_PARM_P (olddecl)) in check_template_shadow() 4494 if (decl == olddecl in check_template_shadow() 4509 inform (DECL_SOURCE_LOCATION (olddecl), in check_template_shadow() 4510 "template parameter %qD declared here", olddecl); in check_template_shadow() 29293 rewrite_template_parm (tree olddecl, unsigned index, unsigned level, in rewrite_template_parm() argument 29296 if (olddecl == error_mark_node) in rewrite_template_parm() 29299 tree oldidx = get_template_parm_index (olddecl); in rewrite_template_parm() [all …]
|
| H A D | ChangeLog-1997 | 29 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).
|
| H A D | ChangeLog-2014 | 765 tls model to newdecl symtab node, instead merge to olddecl. 766 Override existing olddecl section name. Set tls_model for all 1253 newdecl, not olddecl.
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/c/ |
| H A D | c-decl.c | 1791 diagnose_arglist_conflict (tree newdecl, tree olddecl, in diagnose_arglist_conflict() argument 1796 if (TREE_CODE (olddecl) != FUNCTION_DECL in diagnose_arglist_conflict() 1798 || !((!prototype_p (oldtype) && DECL_INITIAL (olddecl) == NULL_TREE) in diagnose_arglist_conflict() 1927 diagnose_mismatched_decls (tree newdecl, tree olddecl, in diagnose_mismatched_decls() argument 1938 if (olddecl == error_mark_node || newdecl == error_mark_node) in diagnose_mismatched_decls() 1940 *oldtypep = oldtype = TREE_TYPE (olddecl); in diagnose_mismatched_decls() 1947 if (TREE_CODE (olddecl) != TREE_CODE (newdecl)) in diagnose_mismatched_decls() 1949 if (!(TREE_CODE (olddecl) == FUNCTION_DECL in diagnose_mismatched_decls() 1950 && fndecl_built_in_p (olddecl) in diagnose_mismatched_decls() 1951 && !C_DECL_DECLARED_BUILTIN (olddecl))) in diagnose_mismatched_decls() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/c/ |
| H A D | c-decl.cc | 1806 diagnose_arglist_conflict (tree newdecl, tree olddecl, in diagnose_arglist_conflict() argument 1811 if (TREE_CODE (olddecl) != FUNCTION_DECL in diagnose_arglist_conflict() 1813 || !((!prototype_p (oldtype) && DECL_INITIAL (olddecl) == NULL_TREE) in diagnose_arglist_conflict() 1949 diagnose_mismatched_decls (tree newdecl, tree olddecl, in diagnose_mismatched_decls() argument 1960 if (olddecl == error_mark_node || newdecl == error_mark_node) in diagnose_mismatched_decls() 1962 *oldtypep = oldtype = TREE_TYPE (olddecl); in diagnose_mismatched_decls() 1969 if (TREE_CODE (olddecl) != TREE_CODE (newdecl)) in diagnose_mismatched_decls() 1971 if (!(TREE_CODE (olddecl) == FUNCTION_DECL in diagnose_mismatched_decls() 1972 && fndecl_built_in_p (olddecl) in diagnose_mismatched_decls() 1973 && !C_DECL_DECLARED_BUILTIN (olddecl))) in diagnose_mismatched_decls() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/ |
| H A D | c-warn.c | 2589 diagnose_mismatched_attributes (tree olddecl, tree newdecl) in diagnose_mismatched_attributes() argument 2593 tree a1 = lookup_attribute ("optimize", DECL_ATTRIBUTES (olddecl)); in diagnose_mismatched_attributes() 2598 && DECL_SAVED_TREE (olddecl) != NULL_TREE in diagnose_mismatched_attributes() 2607 && DECL_UNINLINABLE (olddecl) in diagnose_mismatched_attributes() 2608 && lookup_attribute ("noinline", DECL_ATTRIBUTES (olddecl))) in diagnose_mismatched_attributes() 2611 else if (DECL_DECLARED_INLINE_P (olddecl) in diagnose_mismatched_attributes()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/c-family/ |
| H A D | c-warn.cc | 2579 diagnose_mismatched_attributes (tree olddecl, tree newdecl) in diagnose_mismatched_attributes() argument 2583 tree a1 = lookup_attribute ("optimize", DECL_ATTRIBUTES (olddecl)); in diagnose_mismatched_attributes() 2588 && DECL_SAVED_TREE (olddecl) != NULL_TREE in diagnose_mismatched_attributes() 2597 && DECL_UNINLINABLE (olddecl) in diagnose_mismatched_attributes() 2598 && lookup_attribute ("noinline", DECL_ATTRIBUTES (olddecl))) in diagnose_mismatched_attributes() 2601 else if (DECL_DECLARED_INLINE_P (olddecl) in diagnose_mismatched_attributes()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/ |
| H A D | decl.cc | 1328 tree olddecl = decl->csym; in get_symbol_decl() local 1333 DECL_SOURCE_LOCATION (decl->csym) = DECL_SOURCE_LOCATION (olddecl); in get_symbol_decl() 1337 if (DECL_EXTERNAL (olddecl) && !DECL_INITIAL (olddecl)) in get_symbol_decl()
|
| /netbsd-src/external/bsd/pcc/dist/pcc/cc/ccom/ |
| H A D | cgram.y | 178 static void olddecl(P1ND *p, P1ND *a); 562 olddecl(block(TYMERGE, p1tcopy($<nodep>0), $1, 566 olddecl(block(TYMERGE, p1tcopy($<nodep>0), $3, 1903 olddecl(P1ND *p, P1ND *a) in olddecl() function
|
| /netbsd-src/external/bsd/pcc/dist/pcc/cc/cxxcom/ |
| H A D | cgram.y | 177 static void olddecl(NODE *p, NODE *a); 590 olddecl(block(TYMERGE, ccopy($<nodep>0), $1, 594 olddecl(block(TYMERGE, ccopy($<nodep>0), $3, 1866 olddecl(NODE *p, NODE *a) in olddecl() function
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/ |
| H A D | decl.cc | 1174 tree olddecl = decl->csym; in get_symbol_decl() local 1179 if (DECL_EXTERNAL (olddecl) && !DECL_INITIAL (olddecl)) in get_symbol_decl()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | varasm.c | 5633 merge_weak (tree newdecl, tree olddecl) in merge_weak() argument 5635 if (DECL_WEAK (newdecl) == DECL_WEAK (olddecl)) in merge_weak() 5661 gcc_assert (!TREE_ASM_WRITTEN (olddecl)); in merge_weak() 5667 gcc_assert (!TREE_USED (olddecl) in merge_weak() 5668 || !TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (olddecl))); in merge_weak() 5671 if (! TREE_PUBLIC (olddecl) && TREE_PUBLIC (newdecl)) in merge_weak() 5682 TREE_VALUE (wd) = olddecl; in merge_weak() 5692 mark_weak (olddecl); in merge_weak()
|
| H A D | attribs.c | 1486 merge_decl_attributes (tree olddecl, tree newdecl) in merge_decl_attributes() argument 1488 return merge_attributes (DECL_ATTRIBUTES (olddecl), in merge_decl_attributes()
|
| H A D | tree.h | 3967 copy_decl_built_in_function (tree newdecl, const_tree olddecl) in copy_decl_built_in_function() argument 3971 = FUNCTION_DECL_CHECK (olddecl)->function_decl; in copy_decl_built_in_function()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | varasm.cc | 5895 merge_weak (tree newdecl, tree olddecl) in merge_weak() argument 5897 if (DECL_WEAK (newdecl) == DECL_WEAK (olddecl)) in merge_weak() 5923 gcc_assert (!TREE_ASM_WRITTEN (olddecl)); in merge_weak() 5929 gcc_assert (!TREE_USED (olddecl) in merge_weak() 5930 || !TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (olddecl))); in merge_weak() 5933 if (! TREE_PUBLIC (olddecl) && TREE_PUBLIC (newdecl)) in merge_weak() 5944 TREE_VALUE (wd) = olddecl; in merge_weak() 5954 mark_weak (olddecl); in merge_weak()
|
| H A D | attribs.cc | 1685 merge_decl_attributes (tree olddecl, tree newdecl) in merge_decl_attributes() argument 1687 return merge_attributes (DECL_ATTRIBUTES (olddecl), in merge_decl_attributes()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/nds32/ |
| H A D | nds32.cc | 3913 nds32_merge_decl_attributes (tree olddecl, tree newdecl) in nds32_merge_decl_attributes() argument 3918 combined_attrs = merge_attributes (DECL_ATTRIBUTES (olddecl), in nds32_merge_decl_attributes() 3923 if (TREE_CODE (olddecl) == FUNCTION_DECL) in nds32_merge_decl_attributes() 3926 nds32_check_isr_attrs_conflict (olddecl, combined_attrs); in nds32_merge_decl_attributes()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/nds32/ |
| H A D | nds32.c | 3913 nds32_merge_decl_attributes (tree olddecl, tree newdecl) in nds32_merge_decl_attributes() argument 3918 combined_attrs = merge_attributes (DECL_ATTRIBUTES (olddecl), in nds32_merge_decl_attributes() 3923 if (TREE_CODE (olddecl) == FUNCTION_DECL) in nds32_merge_decl_attributes() 3926 nds32_check_isr_attrs_conflict (olddecl, combined_attrs); in nds32_merge_decl_attributes()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/nios2/ |
| H A D | nios2.c | 4434 nios2_merge_decl_attributes (tree olddecl, tree newdecl) in nios2_merge_decl_attributes() argument 4436 tree oldopts = lookup_attribute ("target", DECL_ATTRIBUTES (olddecl)); in nios2_merge_decl_attributes() 4440 tree oldtree = DECL_FUNCTION_SPECIFIC_TARGET (olddecl); in nios2_merge_decl_attributes() 4452 return merge_attributes (DECL_ATTRIBUTES (olddecl), in nios2_merge_decl_attributes()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/nios2/ |
| H A D | nios2.cc | 4469 nios2_merge_decl_attributes (tree olddecl, tree newdecl) in nios2_merge_decl_attributes() argument 4471 tree oldopts = lookup_attribute ("target", DECL_ATTRIBUTES (olddecl)); in nios2_merge_decl_attributes() 4475 tree oldtree = DECL_FUNCTION_SPECIFIC_TARGET (olddecl); in nios2_merge_decl_attributes() 4487 return merge_attributes (DECL_ATTRIBUTES (olddecl), in nios2_merge_decl_attributes()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/riscv/ |
| H A D | riscv.c | 4979 riscv_merge_decl_attributes (tree olddecl, tree newdecl) in riscv_merge_decl_attributes() argument 4984 = riscv_get_interrupt_type (olddecl); in riscv_merge_decl_attributes() 4995 combined_attrs = merge_attributes (DECL_ATTRIBUTES (olddecl), in riscv_merge_decl_attributes()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/riscv/ |
| H A D | riscv.cc | 5401 riscv_merge_decl_attributes (tree olddecl, tree newdecl) in riscv_merge_decl_attributes() argument 5406 = riscv_get_interrupt_type (olddecl); in riscv_merge_decl_attributes() 5417 combined_attrs = merge_attributes (DECL_ATTRIBUTES (olddecl), in riscv_merge_decl_attributes()
|