2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / torture / pr38565.C
blob7216b1c67e7c7ca28b7f51983d9bcec06ff819c2
1 // { dg-do compile }
2 // Ignore warning on some powerpc-linux configurations.
3 // { dg-prune-output "non-standard ABI extension" }
4 // { dg-prune-output "changes the ABI" }
5 #define vector __attribute__((vector_size(16) ))
6 vector unsigned int f(int a)
8   vector unsigned int mask = a ? (vector unsigned int){ 0x80000000, 0x80000000,
9 0x80000000, 0x80000000 } : (vector unsigned int){0};
10   return mask;