diff options
Diffstat (limited to 'contrib/gcc/c-common.c')
-rw-r--r-- | contrib/gcc/c-common.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/gcc/c-common.c b/contrib/gcc/c-common.c index 4b47ef4..f9b06f4 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; } |