vector-init-1.c
206 Bytes
-
re PR c++/51033 (generic vector subscript and shuffle support was not added to C++) · 7edaa4d2
PR c++/51033 gcc/ * c-typeck.c (build_array_ref): Call convert_vector_to_pointer_for_subscript. gcc/c-family * c-common.c (convert_vector_to_pointer_for_subscript): New function. * c-common.h (convert_vector_to_pointer_for_subscript): Declare it. gcc/cp/ * typeck.c (cp_build_array_ref): Handle VECTOR_TYPE. * decl2.c (grok_array_decl): Likewise. From-SVN: r186994
Marc Glisse committed