2018-06-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / simd-8.c
blob5bc8637c86b0a1d87e184521688bab87c9d6f3e6
1 /* { dg-do compile } */
2 /* { dg-options "-w -Wno-psabi" } */
4 #if __SIZEOF_LONG_DOUBLE__ == 16 || __SIZEOF_LONG_DOUBLE__ == 8
5 typedef long double a __attribute__((vector_size (32)));
7 a __attribute__((noinline))
8 sum (a first, a second)
10 return first + second;
14 foo (a x, a y, a z)
16 return sum (x, y) + z;
18 #else
19 int main() {}
20 #endif