]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
In gcc/: 2010-12-07 Nicola Pero <nicola.pero@meta-innovation.com>
authorNicola Pero <nicola.pero@meta-innovation.com>
Tue, 7 Dec 2010 00:37:17 +0000 (00:37 +0000)
committerNicola Pero <nicola@gcc.gnu.org>
Tue, 7 Dec 2010 00:37:17 +0000 (00:37 +0000)
In gcc/:
2010-12-07  Nicola Pero  <nicola.pero@meta-innovation.com>

* c-parser.c (c_parser_typeof_specifier): Removed special
treatment of objc_volatilized attribute for Objective-C.

From-SVN: r167526

gcc/ChangeLog
gcc/c-parser.c

index d996d26a69c6afefbb7c7bf770359f073b624d99..36e87335314dc0f1de0cd0a71c35ecda694594fc 100644 (file)
@@ -1,3 +1,8 @@
+2010-12-07  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * c-parser.c (c_parser_typeof_specifier): Removed special
+       treatment of objc_volatilized attribute for Objective-C.
+
 2010-12-06  Vladimir Makarov  <vmakarov@redhat.com>
 
        * ira.c (update_equiv_regs): Prohibit move insns if
index 62eb1e70a8d03d452c0ea814d409d31676aea24f..6faaacf157c1ea482b1689897cf105a6fff496ec 100644 (file)
@@ -2667,11 +2667,6 @@ c_parser_typeof_specifier (c_parser *parser)
        error_at (here, "%<typeof%> applied to a bit-field");
       mark_exp_read (expr.value);
       ret.spec = TREE_TYPE (expr.value);
-      if (c_dialect_objc() 
-         && ret.spec != error_mark_node
-         && lookup_attribute ("objc_volatilized", TYPE_ATTRIBUTES (ret.spec)))
-       ret.spec = build_qualified_type
-         (ret.spec, (TYPE_QUALS (ret.spec) & ~TYPE_QUAL_VOLATILE));
       was_vm = variably_modified_type_p (ret.spec, NULL_TREE);
       /* This is returned with the type so that when the type is
         evaluated, this can be evaluated.  */