summaryrefslogtreecommitdiff
path: root/gcc/c-convert.c
diff options
context:
space:
mode:
authorcrux <crux@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-24 19:26:42 +0000
committercrux <crux@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-24 19:26:42 +0000
commit8a95ab857c0aa88461aa4f10944825c98f32d0df (patch)
treedb94b2c1a07d5c04365806edf03c813ecba575c1 /gcc/c-convert.c
parent2323093ea57b891515a0792298d5e3998ee8218d (diff)
downloadgcc-8a95ab857c0aa88461aa4f10944825c98f32d0df.tar.gz
Vector conversions support
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34680 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-convert.c')
-rw-r--r--gcc/c-convert.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-convert.c b/gcc/c-convert.c
index 8dc85509d74..5d7ea00f82b 100644
--- a/gcc/c-convert.c
+++ b/gcc/c-convert.c
@@ -94,6 +94,8 @@ convert (type, expr)
return fold (convert_to_real (type, e));
if (code == COMPLEX_TYPE)
return fold (convert_to_complex (type, e));
+ if (code == VECTOR_TYPE)
+ return fold (convert_to_vector (type, e));
error ("conversion to non-scalar type requested");
return error_mark_node;