From: Nicola Pero Date: Tue, 7 Dec 2010 00:37:17 +0000 (+0000) Subject: In gcc/: 2010-12-07 Nicola Pero X-Git-Tag: releases/gcc-4.6.0~2096 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dda8b452d351ecf6cbc0f23c235261837fc37439;p=thirdparty%2Fgcc.git In gcc/: 2010-12-07 Nicola Pero In gcc/: 2010-12-07 Nicola Pero * c-parser.c (c_parser_typeof_specifier): Removed special treatment of objc_volatilized attribute for Objective-C. From-SVN: r167526 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d996d26a69c6..36e87335314d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-12-07 Nicola Pero + + * c-parser.c (c_parser_typeof_specifier): Removed special + treatment of objc_volatilized attribute for Objective-C. + 2010-12-06 Vladimir Makarov * ira.c (update_equiv_regs): Prohibit move insns if diff --git a/gcc/c-parser.c b/gcc/c-parser.c index 62eb1e70a8d0..6faaacf157c1 100644 --- a/gcc/c-parser.c +++ b/gcc/c-parser.c @@ -2667,11 +2667,6 @@ c_parser_typeof_specifier (c_parser *parser) error_at (here, "% 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. */