5 extern "C" void abort();
7 #define vector __attribute__((vector_size(16)))
10 inline vector unsigned int deadbeef(void) const {
11 return (vector unsigned int){0xdeadbeef, 0xabababab, 0x55555555, 0x12345678};
15 inline vector unsigned int const_deadbeef(Constants &C)
22 vector unsigned int v;
28 data.v = const_deadbeef(c);
30 if (data.f[0] != 0xdeadbeef || data.f[1] != 0xabababab
31 || data.f[2] != 0x55555555 || data.f[3] != 0x12345678)
37 /* Ignore a warning that is irrelevant to the purpose of this test. */
38 /* { dg-prune-output ".*GCC vector returned by reference.*" } */
39 /* { dg-prune-output "changes the ABI" } */