aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/typeck2.c
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@redhat.com>2001-01-16 17:57:34 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2001-01-16 17:57:34 +0000
commitbb37c4a562c7dda824144fff8acd352f7dae1305 (patch)
tree08e781385bd8b32d3c2729426f48f9357fb1c5f2 /gcc/cp/typeck2.c
parent2c87347376c1048bd3c22e6951db24f33ce051d4 (diff)
downloadgcc-bb37c4a562c7dda824144fff8acd352f7dae1305.zip
gcc-bb37c4a562c7dda824144fff8acd352f7dae1305.tar.gz
gcc-bb37c4a562c7dda824144fff8acd352f7dae1305.tar.bz2
cvt.c (ocp_convert): Handle vector type conversion
2001-01-16 Daniel Berlin <dberlin@redhat.com> * cvt.c (ocp_convert): Handle vector type conversion * typeck2.c (digest_init): Handle vector type initializations From-SVN: r39071
Diffstat (limited to 'gcc/cp/typeck2.c')
-rw-r--r--gcc/cp/typeck2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c
index 5cccddc..a7e71e5 100644
--- a/gcc/cp/typeck2.c
+++ b/gcc/cp/typeck2.c
@@ -545,7 +545,7 @@ digest_init (type, init, tail)
if (code == INTEGER_TYPE || code == REAL_TYPE || code == POINTER_TYPE
|| code == ENUMERAL_TYPE || code == REFERENCE_TYPE
- || code == BOOLEAN_TYPE || code == COMPLEX_TYPE
+ || code == BOOLEAN_TYPE || code == COMPLEX_TYPE || code == VECTOR_TYPE
|| TYPE_PTRMEMFUNC_P (type))
{
if (raw_constructor)