| /openbsd-src/gnu/gcc/gcc/objcp/ |
| H A D | objcp-decl.c | 99 return comptypes (type1, type2, COMPARE_STRICT); in objcp_comptypes()
|
| H A D | objcp-decl.h | 50 #define comptypes(type1, type2) \ macro
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/ |
| H A D | c-typeck.c | 420 if (comptypes (TREE_TYPE (memb), TREE_VALUE (p2))) 434 if (comptypes (TREE_TYPE (memb), TREE_VALUE (p1))) 463 comptypes (type1, type2) in comptypes() function 524 ? 1 : comptypes (TREE_TYPE (t1), TREE_TYPE (t2))); 541 && 0 == (val = comptypes (TREE_TYPE (t1), TREE_TYPE (t2)))) 599 val = comptypes (TYPE_MAIN_VARIANT (TREE_TYPE (ttl)), 626 || (val = comptypes (TREE_TYPE (f1), TREE_TYPE (f2))))) 696 else if (! (newval = comptypes (TYPE_MAIN_VARIANT (TREE_VALUE (args1)), 711 if (comptypes (TREE_TYPE (memb), TREE_VALUE (args2))) 726 if (comptypes (TREE_TYPE (memb), TREE_VALUE (args1))) [all …]
|
| H A D | c-tree.h | 261 extern int comptypes PARAMS ((tree, tree));
|
| H A D | c-decl.c | 866 int types_match = comptypes (TREE_TYPE (newdecl), TREE_TYPE (olddecl)); 999 types_match = comptypes (newtype, trytype); 1022 types_match = comptypes (newtype, trytype); 1106 && comptypes (TREE_TYPE (oldtype), 1114 && comptypes (TREE_TYPE (oldtype), 1240 if (! comptypes (TREE_VALUE (parm), TREE_VALUE (type))) 1824 if (decl && ! comptypes (TREE_TYPE (x), TREE_TYPE (decl)) 1840 && ! comptypes (TREE_TYPE (x), 1927 if (! comptypes (TREE_TYPE (x), 6323 if (! comptypes (TYPE_MAIN_VARIANT (DECL_ARG_TYPE (parm)), in store_parm_decls()
|
| /openbsd-src/gnu/gcc/gcc/ |
| H A D | c-objc-common.c | 258 return comptypes (TYPE_MAIN_VARIANT (x), TYPE_MAIN_VARIANT (y)); in c_types_compatible_p()
|
| H A D | c-typeck.c | 470 if (comptypes (mv3, mv2)) in composite_type() 495 if (comptypes (mv3, mv1)) in composite_type() 769 comptypes (tree type1, tree type2) in comptypes() function 948 val = comptypes (mvl, mvr); in comp_target_types() 2275 && !comptypes (fntype, TREE_TYPE (tem))) in build_function_call() 3508 if (comptypes (TYPE_MAIN_VARIANT (TREE_TYPE (field)), in build_c_cast() 3908 && comptypes (TREE_TYPE (type), TREE_TYPE (rhs)) == 1) in convert_for_assignment() 3946 && comptypes (type, rhstype)) in convert_for_assignment() 3960 if (comptypes (TYPE_MAIN_VARIANT (memb_type), in convert_for_assignment() 4609 bool wchar_array = !!comptypes (typ1, wchar_type_node); in digest_init() [all …]
|
| H A D | c-decl.c | 1038 || !comptypes (TREE_TYPE (oldtype), TREE_TYPE (newtype)) in diagnose_arglist_conflict() 1115 else if (!comptypes (oldargtype, newargtype)) in validate_proto_after_old_defn() 1210 if (!comptypes (oldtype, newtype)) in diagnose_mismatched_decls() 1219 if (trytype && comptypes (newtype, trytype)) in diagnose_mismatched_decls() 1649 if (!comptypes (oldtype, TREE_TYPE (newdecl))) in merge_decls() 2127 if (comptypes (vistype, type)) in pushdecl() 2229 if (comptypes (vistype, type)) in pushdecl() 2402 if (!comptypes (newtype, TREE_TYPE (decl))) in implicitly_declare() 2411 if (!comptypes (newtype, TREE_TYPE (decl))) in implicitly_declare() 6079 && comptypes (TREE_TYPE (TREE_TYPE (decl1)), in start_function() [all …]
|
| H A D | c-tree.h | 535 extern int comptypes (tree, tree);
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/cp/ |
| H A D | typeck.c | 891 comptypes (t1, t2, strict) in comptypes() function 1003 val = (comptypes (build_pointer_type (TYPE_OFFSET_BASETYPE (t1)), 1005 && comptypes (TREE_TYPE (t1), TREE_TYPE (t2), strict)); 1014 val = comptypes (t1, t2, strict); 1025 || comptypes (TREE_TYPE (t1), TREE_TYPE (t2), strict)) 1033 val = comp_array_types (comptypes, t1, t2, orig_strict); 6485 && comptypes (TYPE_OFFSET_BASETYPE (to), 6498 return comptypes
|
| H A D | cvt.c | 520 && (comptypes (TREE_TYPE (intype), type,
|
| H A D | cp-tree.h | 368 comptypes ((TYPE1), (TYPE2), COMPARE_STRICT) 3517 comptypes ((TYPE1), (TYPE2), COMPARE_BASE) 4399 extern int comptypes PARAMS ((tree, tree, int));
|
| H A D | ChangeLog.2 | 3933 (comptypes): Adjust for comp_except_specs. 4164 (comptypes): Tidy. Handle COMPLEX_TYPE. 4419 * typeck.c (comptypes): Simplify C code in look_hard. 5447 * typeck.c (comptypes): If we get it, ignore attributes. 7452 (comptypes): Likewise. 7635 * call.c (standard_conversion): Use them, in place of comptypes 7676 (comptypes): Update comments. Use new flags. 7983 (comptypes): Likewise. 8504 * decl.c (decls_match): Use comptypes directly; ignore 8740 * typeck.c (comptypes): When comparing pointer types, check [all …]
|
| H A D | ChangeLog.1 | 176 * typeck.c (comptypes): Tighten up comparisons of template type 197 * call.c (convert_harshness): Use comptypes, not ==, to check if 802 * typeck.c (comptypes, case OFFSET_REF): If either offset basetype 910 * typeck.c (comptypes): Don't ignore method quals. 2385 * typeck.c (comptypes): Be more picky about comparing UPTs. 2913 (convert_to_reference): Use comp_target_types instead of comptypes 5067 * class.c (instantiate_type): Use comptypes rather than relying on 5913 (comptypes): Deal with UPTs. 7229 comptypes. 7316 * pt.c (tsubst): Use comptypes rather than == to compare the [all …]
|
| /openbsd-src/gnu/gcc/gcc/cp/ |
| H A D | typeck.c | 937 comptypes (tree t1, tree t2, int strict) in comptypes() function 1035 if (!comptypes (TYPE_OFFSET_BASETYPE (t1), TYPE_OFFSET_BASETYPE (t2), in comptypes() 5156 && (comptypes (TREE_TYPE (intype), TREE_TYPE (type), in build_reinterpret_cast_1() 6745 && comptypes (TYPE_OFFSET_BASETYPE (to), in ptr_reasonably_similar() 6762 return comptypes in ptr_reasonably_similar()
|
| H A D | ChangeLog-1998 | 664 (comptypes): Likewise. 847 * call.c (standard_conversion): Use them, in place of comptypes 888 (comptypes): Update comments. Use new flags. 1195 (comptypes): Likewise. 1716 * decl.c (decls_match): Use comptypes directly; ignore 1952 * typeck.c (comptypes): When comparing pointer types, check 3167 * typeck.c (convert_for_assignment): Use comptypes. 3307 * typeck.c (comptypes, case TEMPLATE_TEMPLATE_PARM): Add parameter 3930 * typeck.c (comptypes): If strict, TYPE_FOR_JAVA must match. 4020 * friend.c (is_friend): Use comptypes, rather than == to compare [all …]
|
| H A D | cvt.c | 516 && (comptypes (TREE_TYPE (intype), type, in convert_to_reference()
|
| H A D | cp-tree.h | 288 comptypes ((TYPE1), (TYPE2), COMPARE_STRICT) 3519 comptypes ((TYPE1), (TYPE2), COMPARE_BASE) 4444 extern bool comptypes (tree, tree, int);
|
| H A D | ChangeLog-1996 | 1189 * typeck.c (comptypes): Just check DERIVED_FROM_P, not UNIQUELY. 1567 * tree.c (vec_binfo_member): Use comptypes instead of comparing 2888 * typeck.c (comptypes): Handle TYPENAME_TYPE. 2987 * pt.c (comp_template_args): Use comptypes rather than just 3408 (comptypes): Fix calls. 3549 * typeck.c (comptypes): Default COMP_TYPE_ATTRIBUTES to 1, to
|
| H A D | ChangeLog-1995 | 527 * typeck.c (comptypes): Tighten up comparisons of template type 548 * call.c (convert_harshness): Use comptypes, not ==, to check if 1153 * typeck.c (comptypes, case OFFSET_REF): If either offset basetype 1261 * typeck.c (comptypes): Don't ignore method quals. 2736 * typeck.c (comptypes): Be more picky about comparing UPTs. 3264 (convert_to_reference): Use comp_target_types instead of comptypes
|
| H A D | ChangeLog-2003 | 1352 * typeck.c (comptypes): Don't ICE when its first argument is 3749 * typeck.c (comptypes): Expect types. 3892 (comptypes): Rearrange STRICT handling. 3902 (cp_tree_equal, comptypes): Return a bool. 3903 * cvt.c (convert_to_reference): Adjust comptypes call. 3911 (comptypes): Return bool. Adjust strict handling. Remove relaxed 4330 * typeck.c (comptypes): Do not check COMPARE_NO_ATTRIBUTES. 6157 * typeck.c (comptypes): Resolve typename types as appropriate.
|
| H A D | ChangeLog-1993 | 3 * cp-init.c (expand_vec_init): Remove comptypes test, as it is too
|
| H A D | ChangeLog-2004 | 803 * typeck.c (comptypes): Likewise. 2233 (comptypes): For RECORD_TYPEs, call objc_comptypes() and 2591 * typeck.c (type_after_usual_arithmetic_conversions, comptypes, 5671 * typeck.c (comptypes): Use TYPE_ORIG_SIZE_TYPE, not TYPE_DOMAIN. 6482 * typeck.c (comptypes): Avoid calling cp_type_quals.
|
| H A D | ChangeLog-1994 | 1627 * class.c (instantiate_type): Use comptypes rather than relying on 2473 (comptypes): Deal with UPTs. 3789 comptypes. 3876 * pt.c (tsubst): Use comptypes rather than == to compare the 4025 * typeck.c (comptypes): Simplify. All TEMPLATE_TYPE_PARMs are
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/objc/ |
| H A D | objc-act.c | 3572 if (!comptypes (t1, t2)) 4944 && ! comptypes (rtype, objc_class_type)) 7115 return comptypes (TREE_TYPE (METHOD_DEFINITION (method)), function1_template); 7138 return comptypes (function1_template, function2_template);
|