]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/simd-7.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / simd-7.c
CommitLineData
218db463 1/* { dg-do compile } */
5a9def37 2/* { dg-options "-w -Wno-psabi" } */
218db463
RB
3
4#if __SIZEOF_LONG_DOUBLE__ == 16 || __SIZEOF_LONG_DOUBLE__ == 8
5typedef long double a __attribute__((vector_size (16)));
6
7a __attribute__((noinline))
8sum (a first, a second)
9{
10 return first + second;
11}
12
13a
14foo (a x, a y, a z)
15{
16 return sum (x, y) + z;
17}
18#else
19int main() {}
20#endif