Home
last modified time | relevance | path

Searched refs:fdecl (Results 1 – 8 of 8) sorted by relevance

/openbsd-src/gnu/usr.bin/gcc/gcc/java/
H A Dclass.c1072 build_static_field_ref (fdecl) in build_static_field_ref() argument
1073 tree fdecl; in build_static_field_ref()
1075 tree fclass = DECL_CONTEXT (fdecl);
1079 if (!DECL_RTL_SET_P (fdecl))
1082 DECL_EXTERNAL (fdecl) = 1;
1083 make_decl_rtl (fdecl, NULL);
1085 return fdecl;
1100 if (fld == fdecl)
1104 IDENTIFIER_POINTER (DECL_NAME (fdecl)));
1116 return fold (build1 (INDIRECT_REF, TREE_TYPE(fdecl), ref));
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/
H A Dclass.c1125 alter_access (t, fdecl, access) in alter_access() argument
1127 tree fdecl;
1132 if (!DECL_LANG_SPECIFIC (fdecl))
1133 retrofit_lang_decl (fdecl);
1135 if (DECL_DISCRIMINATOR_P (fdecl))
1138 elem = purpose_member (t, DECL_ACCESS (fdecl));
1143 if (TREE_CODE (TREE_TYPE (fdecl)) == FUNCTION_DECL)
1144 cp_error_at ("conflicting access specifications for method `%D', ignored", TREE_TYPE (fdecl));
1147 IDENTIFIER_POINTER (DECL_NAME (fdecl)));
1158 enforce_access (t, fdecl);
[all …]
/openbsd-src/gnu/gcc/gcc/cp/
H A Dclass.c1119 alter_access (tree t, tree fdecl, tree access) in alter_access() argument
1123 if (!DECL_LANG_SPECIFIC (fdecl)) in alter_access()
1124 retrofit_lang_decl (fdecl); in alter_access()
1126 gcc_assert (!DECL_DISCRIMINATOR_P (fdecl)); in alter_access()
1128 elem = purpose_member (t, DECL_ACCESS (fdecl)); in alter_access()
1133 if (TREE_CODE (TREE_TYPE (fdecl)) == FUNCTION_DECL) in alter_access()
1135 " %q+D, ignored", TREE_TYPE (fdecl)); in alter_access()
1138 DECL_NAME (fdecl)); in alter_access()
1149 perform_or_defer_access_check (TYPE_BINFO (t), fdecl, fdecl); in alter_access()
1150 DECL_ACCESS (fdecl) = tree_cons (t, access, DECL_ACCESS (fdecl)); in alter_access()
/openbsd-src/gnu/gcc/gcc/
H A Dc-common.c5945 tree fdecl, ftype; in c_warn_unused_result() local
5980 fdecl = get_callee_fndecl (t); in c_warn_unused_result()
5981 if (fdecl) in c_warn_unused_result()
5982 ftype = TREE_TYPE (fdecl); in c_warn_unused_result()
5992 if (fdecl) in c_warn_unused_result()
5995 EXPR_LOCUS (t), fdecl); in c_warn_unused_result()
H A Dtree-flow.h325 struct function_ann_d GTY((tag ("FUNCTION_ANN"))) fdecl;
H A Dtree-ssa-structalias.c2349 bitpos_of_field (const tree fdecl) in bitpos_of_field() argument
2352 if (TREE_CODE (DECL_FIELD_OFFSET (fdecl)) != INTEGER_CST in bitpos_of_field()
2353 || TREE_CODE (DECL_FIELD_BIT_OFFSET (fdecl)) != INTEGER_CST) in bitpos_of_field()
2356 return (tree_low_cst (DECL_FIELD_OFFSET (fdecl), 1) * 8) in bitpos_of_field()
2357 + tree_low_cst (DECL_FIELD_BIT_OFFSET (fdecl), 1); in bitpos_of_field()
H A Dgimplify.c2823 zero_sized_field_decl (tree fdecl) in zero_sized_field_decl() argument
2825 if (TREE_CODE (fdecl) == FIELD_DECL && DECL_SIZE (fdecl) in zero_sized_field_decl()
2826 && integer_zerop (DECL_SIZE (fdecl))) in zero_sized_field_decl()
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/
H A DChangeLog7998 * objc/execute/fdecl.m: Added main().
8012 * objc/execute/fdecl.m: Declare foo as pointer to AClass.