Address of vector component legal?

Testcase:
void a() {
typedef float v4sf __attribute__ ((vector_size (16)));
static v4sf q;
float* r = &q[0];
}

Testcase currently crashes clang -emit-llvm. Is the fact that this
doesn't currently work just an oversight? Or is it not supposed to be
allowed?

-Eli

This should be rejected, just like address of bitfield.

-Chris

We should reject this in sema, just like taking the address of a bitfield.

-Chris