aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/decl2.c
diff options
context:
space:
mode:
authorGeoff Keating <geoffk@cygnus.com>2000-10-22 01:38:35 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2000-10-22 01:38:35 +0000
commit7a0f14e58bb2589f6f8ac690b250311e74b71332 (patch)
treed8a31451fadf1ccdc4e28988feba16b749031566 /gcc/cp/decl2.c
parent3b9ae6f0d51f3372564eb301e0481225474aa7b2 (diff)
downloadgcc-7a0f14e58bb2589f6f8ac690b250311e74b71332.zip
gcc-7a0f14e58bb2589f6f8ac690b250311e74b71332.tar.gz
gcc-7a0f14e58bb2589f6f8ac690b250311e74b71332.tar.bz2
decl2.c (arg_assoc_type): Handle VECTOR_TYPE.
* decl2.c (arg_assoc_type): Handle VECTOR_TYPE. * error.c (dump_type): Handle VECTOR_TYPE like POINTER_TYPE. (dump_type_prefix): Print vector-of-int as 'int vector'. (dump_type_suffix): Handle VECTOR_TYPE like POINTER_TYPE. * tree.c (walk_tree): Handle VECTOR_TYPE. From-SVN: r37002
Diffstat (limited to 'gcc/cp/decl2.c')
-rw-r--r--gcc/cp/decl2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index 9c61e55..766b45f 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -4916,6 +4916,7 @@ arg_assoc_type (k, type)
case POINTER_TYPE:
case REFERENCE_TYPE:
case ARRAY_TYPE:
+ case VECTOR_TYPE:
return arg_assoc_type (k, TREE_TYPE (type));
case UNION_TYPE:
case ENUMERAL_TYPE: