===================================================================
@@ -1,5 +1,10 @@
2010-12-06 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 Nicola Pero <nicola.pero@meta-innovation.com>
+
* c-parser.c (c_parser_for_statement): Use c_fully_fold() instead
of c_process_expr_stmt() for the iterating and collection
expressions of an Objective-C fast enumeration loop.
===================================================================
@@ -2667,11 +2667,6 @@ c_parser_typeof_specifier (c_parser *par
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. */