3 #define vector __attribute__((vector_size(16)))
5 extern "C" void abort();
10 inline vector float foo() const;
14 data.f[0] = 1.0; data.f[1] = 2.0; data.f[2] = 3.0, data.f[3] = 4.0;
23 friend vector float fTest(const Star &);
26 vector float Star::foo() const // { dg-warning "vector returned by ref" "" { target { powerpc*-*-linux* && ilp32 } } }
31 vector float fTest(const Star & val)
33 vector float vf = val.foo();
47 for (int i=0 ; i < 4; i++)
48 if (data.f[i] != (float)(i+1))