svn commit: r260099 - head/contrib/gcc
Pedro F. Giffuni
pfg at FreeBSD.org
Mon Dec 30 20:24:06 UTC 2013
Author: pfg
Date: Mon Dec 30 20:24:05 2013
New Revision: 260099
URL: http://svnweb.freebsd.org/changeset/base/260099
Log:
gcc: Fix issue with "unavailable" attribute.
While here, point where we dropped the support for objc from r260014.
MFC after: 3 weeks
Modified:
head/contrib/gcc/c-common.c
Modified: head/contrib/gcc/c-common.c
==============================================================================
--- head/contrib/gcc/c-common.c Mon Dec 30 20:23:40 2013 (r260098)
+++ head/contrib/gcc/c-common.c Mon Dec 30 20:24:05 2013 (r260099)
@@ -5380,7 +5380,9 @@ handle_unavailable_attribute (tree *node
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;
}
More information about the svn-src-head
mailing list