Date: Mon, 30 Dec 2013 20:24:06 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r260099 - head/contrib/gcc Message-ID: <201312302024.rBUKO6pI003403@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312302024.rBUKO6pI003403>