diff options
author | Nicola Pero <nicola.pero@meta-innovation.com> | 2010-12-07 00:37:17 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2010-12-07 00:37:17 +0000 |
commit | dda8b452d351ecf6cbc0f23c235261837fc37439 (patch) | |
tree | 803e91afb7ff548383ae5fc59d8bd2481b6aa4b4 /gcc/c-parser.c | |
parent | fa2f313f28eecd17dc889045d94d3f3d2f2d9f4b (diff) | |
download | gcc-dda8b452d351ecf6cbc0f23c235261837fc37439.zip gcc-dda8b452d351ecf6cbc0f23c235261837fc37439.tar.gz gcc-dda8b452d351ecf6cbc0f23c235261837fc37439.tar.bz2 |
In gcc/: 2010-12-07 Nicola Pero <nicola.pero@meta-innovation.com>
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
Diffstat (limited to 'gcc/c-parser.c')
-rw-r--r-- | gcc/c-parser.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/c-parser.c b/gcc/c-parser.c index 62eb1e7..6faaacf 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, "%<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. */ |