/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 20030530-3.c | 11 redeclaration_error_message (olddecl) 12 tree olddecl; 14 if (({olddecl;})->decl.in_system_header_flag)
|
/haiku-buildtools/gcc/gcc/cp/ |
H A D | decl.c | 991 decls_match (tree newdecl, tree olddecl) 995 if (newdecl == olddecl) 998 if (TREE_CODE (newdecl) != TREE_CODE (olddecl)) 1008 tree f2 = TREE_TYPE (olddecl); 1018 tree t2 = (DECL_USE_TEMPLATE (olddecl) 1019 ? DECL_TI_TEMPLATE (olddecl) 1024 if (CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl) 1026 && DECL_EXTERN_C_P (olddecl))) 1031 if (DECL_IS_BUILTIN (olddecl) 1032 && DECL_EXTERN_C_P (olddecl) 986 decls_match(tree newdecl, tree olddecl) argument 1160 warn_extern_redeclared_static(tree newdecl, tree olddecl) argument 1299 duplicate_decls(tree newdecl, tree olddecl, bool newdecl_is_friend) argument 1356 olddecl); local 1366 olddecl); local 1555 "previous declaration %q#D", olddecl); local 1576 "previous declaration %q#D", olddecl); local 1592 "old declaration %q#D", olddecl); local 1603 "previous declaration %q#D", olddecl); local 1615 "old declaration %q#D", olddecl); local 1625 "previous declaration as %q#D", olddecl); local 1679 "previous declaration of namespace %qD here", olddecl); local 1784 olddecl); local 1792 olddecl); local 1859 "previous declaration of %qD", olddecl); local 1869 "previous declaration of %qD", olddecl); local 2395 "previous declaration of %qD", olddecl); local 2623 redeclaration_error_message(tree newdecl, tree olddecl) argument 13529 tree olddecl = pushdecl (decl1); local [all...] |
H A D | name-lookup.c | 821 tree olddecl = duplicate_decls (x, t, is_friend); 825 if (olddecl == error_mark_node) 828 if (olddecl) 820 tree olddecl = duplicate_decls (x, t, is_friend); local
|
H A D | pt.c | 3599 tree olddecl; local 3609 olddecl = innermost_non_namespace_value (DECL_NAME (decl)); 3613 if (!olddecl) 3620 if (!DECL_P (olddecl) || !DECL_TEMPLATE_PARM_P (olddecl)) 3623 /* We check for decl != olddecl to avoid bogus errors for using a 3626 if (decl == olddecl 3637 error (" shadows template parm %q+#D", olddecl);
|
/haiku-buildtools/gcc/gcc/c/ |
H A D | c-decl.c | 1699 diagnose_arglist_conflict (tree newdecl, tree olddecl, 1704 if (TREE_CODE (olddecl) != FUNCTION_DECL 1706 || !((!prototype_p (oldtype) && DECL_INITIAL (olddecl) == 0) 1834 diagnose_mismatched_decls (tree newdecl, tree olddecl, 1847 if (olddecl == error_mark_node || newdecl == error_mark_node) 1849 *oldtypep = oldtype = TREE_TYPE (olddecl); 1856 if (TREE_CODE (olddecl) != TREE_CODE (newdecl)) 1858 if (!(TREE_CODE (olddecl) == FUNCTION_DECL 1859 && DECL_BUILT_IN (olddecl) 1860 && !C_DECL_DECLARED_BUILTIN (olddecl))) 1686 diagnose_arglist_conflict(tree newdecl, tree olddecl, tree newtype, tree oldtype) argument 1821 diagnose_mismatched_decls(tree newdecl, tree olddecl, tree *newtypep, tree *oldtypep) argument 2345 merge_decls(tree newdecl, tree olddecl, tree newtype, tree oldtype) argument 2747 duplicate_decls(tree newdecl, tree olddecl) argument 3136 implicit_decl_warning(location_t loc, tree id, tree olddecl) argument [all...] |
/haiku-buildtools/legacy/gcc/gcc/ |
H A D | c-decl.c | 1513 duplicate_decls (newdecl, olddecl, different_binding_level) 1514 register tree newdecl, olddecl; 1517 int types_match = comptypes (TREE_TYPE (newdecl), TREE_TYPE (olddecl)); 1520 tree oldtype = TREE_TYPE (olddecl); 1524 if (TREE_CODE_CLASS (TREE_CODE (olddecl)) == 'd') 1526 = merge_machine_decl_attributes (olddecl, newdecl); 1535 if (TREE_CODE (olddecl) != TREE_CODE (newdecl)) 1537 if (TREE_CODE (olddecl) == FUNCTION_DECL 1538 && (DECL_BUILT_IN (olddecl) 1539 || DECL_BUILT_IN_NONANSI (olddecl))) [all...] |
H A D | tree.c | 3656 merge_machine_decl_attributes (olddecl, newdecl) 3657 tree olddecl, newdecl; 3660 return MERGE_MACHINE_DECL_ATTRIBUTES (olddecl, newdecl); 3662 return merge_attributes (DECL_MACHINE_ATTRIBUTES (olddecl),
|
/haiku-buildtools/legacy/gcc/gcc/cp/ |
H A D | decl.c | 3010 decls_match (newdecl, olddecl) 3011 tree newdecl, olddecl; 3015 if (newdecl == olddecl) 3018 if (TREE_CODE (newdecl) != TREE_CODE (olddecl)) 3026 tree f2 = TREE_TYPE (olddecl); 3030 if (DECL_REAL_CONTEXT (newdecl) != DECL_REAL_CONTEXT (olddecl) 3032 && DECL_LANGUAGE (olddecl) == lang_c)) 3039 if (TREE_CODE (f1) == METHOD_TYPE && DECL_STATIC_FUNCTION_P (olddecl)) 3043 revert_static_member_fn (&olddecl, &f2, &p2); 3060 if (! strict_prototypes_lang_c && DECL_LANGUAGE (olddecl) [all...] |
H A D | init.c | 1650 tree olddecl = current_class_ptr; 1651 tree oldtype = TREE_TYPE (TREE_TYPE (olddecl)); 1655 decl = convert_force (build_pointer_type (newtype), olddecl, 0); 1648 tree olddecl = current_class_ptr; local
|
H A D | pt.c | 1642 tree olddecl; local 1652 olddecl = IDENTIFIER_VALUE (DECL_NAME (decl)); 1656 if (!olddecl) 1663 if (TREE_CODE_CLASS (TREE_CODE (olddecl)) != 'd' 1664 || !DECL_TEMPLATE_PARM_P (olddecl)) 1667 /* We check for decl != olddecl to avoid bogus errors for using a 1670 if (decl == olddecl 1675 cp_error_at (" shadows template parm `%#D'", olddecl);
|
/haiku-buildtools/legacy/gcc/gcc/f/ |
H A D | com.c | 500 static int duplicate_decls (tree newdecl, tree olddecl); 13866 duplicate_decls (tree newdecl, tree olddecl) 13871 tree oldtype = TREE_TYPE (olddecl); 13874 if (olddecl == newdecl) 13884 if (TREE_CODE (olddecl) != TREE_CODE (newdecl)) 13890 && TREE_ASM_WRITTEN (olddecl) && ! TREE_ASM_WRITTEN (newdecl)) 13898 if (TREE_CODE (olddecl) == FUNCTION_DECL 13899 && DECL_BUILT_IN (olddecl)) 13907 tree oldreturntype = TREE_TYPE (TREE_TYPE (olddecl)); 13924 the return type of olddecl' 13864 duplicate_decls(tree newdecl, tree olddecl) argument [all...] |
/haiku-buildtools/gcc/gcc/config/nds32/ |
H A D | nds32.c | 2553 nds32_merge_decl_attributes (tree olddecl, tree newdecl) 2558 combined_attrs = merge_attributes (DECL_ATTRIBUTES (olddecl), 2561 /* Since newdecl is acutally a duplicate of olddecl, 2562 we can take olddecl for some operations. */ 2563 if (TREE_CODE (olddecl) == FUNCTION_DECL) 2566 nds32_check_isr_attrs_conflict (olddecl, combined_attrs); 2544 nds32_merge_decl_attributes(tree olddecl, tree newdecl) argument
|
/haiku-buildtools/gcc/gcc/config/nios2/ |
H A D | nios2.c | 3336 nios2_merge_decl_attributes (tree olddecl, tree newdecl) 3338 tree oldopts = lookup_attribute ("target", DECL_ATTRIBUTES (olddecl)); 3342 tree oldtree = DECL_FUNCTION_SPECIFIC_TARGET (olddecl); 3354 return merge_attributes (DECL_ATTRIBUTES (olddecl), 3325 nios2_merge_decl_attributes(tree olddecl, tree newdecl) argument
|
/haiku-buildtools/gcc/gcc/ |
H A D | varasm.c | 5373 merge_weak (tree newdecl, tree olddecl) 5375 if (DECL_WEAK (newdecl) == DECL_WEAK (olddecl)) 5401 gcc_assert (!TREE_ASM_WRITTEN (olddecl)); 5407 gcc_assert (!TREE_USED (olddecl) 5408 || !TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (olddecl))); 5417 TREE_VALUE (wd) = olddecl; 5427 mark_weak (olddecl); 5348 merge_weak(tree newdecl, tree olddecl) argument
|
H A D | tree.c | 6134 merge_decl_attributes (tree olddecl, tree newdecl) 6136 return merge_attributes (DECL_ATTRIBUTES (olddecl), 6113 merge_decl_attributes(tree olddecl, tree newdecl) argument
|
/haiku-buildtools/gcc/gcc/config/mips/ |
H A D | mips.c | 1539 mips_merge_decl_attributes (tree olddecl, tree newdecl) 1543 diff = (mips_get_compress_on_flags (DECL_ATTRIBUTES (olddecl)) 1549 diff = (mips_get_compress_off_flags (DECL_ATTRIBUTES (olddecl)) 1555 return merge_attributes (DECL_ATTRIBUTES (olddecl), 1535 mips_merge_decl_attributes(tree olddecl, tree newdecl) argument
|