diff --git a/contrib/gcc/c-common.c b/contrib/gcc/c-common.c index 4b47ef422b9b..f9b06f4ff837 100644 --- a/contrib/gcc/c-common.c +++ b/contrib/gcc/c-common.c @@ -5380,7 +5380,9 @@ handle_unavailable_attribute (tree *node, tree name, if (TREE_CODE (decl) == TYPE_DECL || TREE_CODE (decl) == PARM_DECL || TREE_CODE (decl) == VAR_DECL - || TREE_CODE (decl) == FUNCTION_DECL) + || TREE_CODE (decl) == FUNCTION_DECL + || TREE_CODE (decl) == FIELD_DECL) + /* Removed radar 3803157 - objc attribute */ { TREE_UNAVAILABLE (decl) = 1; }