summaryrefslogtreecommitdiffstats
path: root/gcc/ada/gcc-interface/utils.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-31 18:19:33 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-31 18:19:33 +0000
commite00e17add908863365230a03cd3ca9815178808c (patch)
tree32651621bdd019ac89f326af06e02f2fa389a613 /gcc/ada/gcc-interface/utils.c
parentfd77a350f52828c67365f97e57a6731dab502e5e (diff)
downloadppe42-gcc-e00e17add908863365230a03cd3ca9815178808c.tar.gz
ppe42-gcc-e00e17add908863365230a03cd3ca9815178808c.zip
* gcc-interface/decl.c (substitute_in_type): Do not deal with
LANG_TYPE, METHOD_TYPE or OFFSET_TYPE. * gcc-interface/utils.c (handle_vector_size_attribute): Do not deal with METHOD_TYPE or OFFSET_TYPE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168381 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
-rw-r--r--gcc/ada/gcc-interface/utils.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c
index b92e916bd38..19a17f9394a 100644
--- a/gcc/ada/gcc-interface/utils.c
+++ b/gcc/ada/gcc-interface/utils.c
@@ -5313,9 +5313,7 @@ handle_vector_size_attribute (tree *node, tree name, tree args,
while (POINTER_TYPE_P (type)
|| TREE_CODE (type) == FUNCTION_TYPE
- || TREE_CODE (type) == METHOD_TYPE
- || TREE_CODE (type) == ARRAY_TYPE
- || TREE_CODE (type) == OFFSET_TYPE)
+ || TREE_CODE (type) == ARRAY_TYPE)
type = TREE_TYPE (type);
/* Get the mode of the type being modified. */
OpenPOWER on IntegriCloud