[cfe-dev] Address of vector component legal?

Eli Friedman eli.friedman at gmail.com
Sat Jan 19 10:18:19 PST 2008


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



More information about the cfe-dev mailing list