PR tree-optimization/93683 - ICE on calloc with unused return value in ao_ref_init_fr...
[gcc.git] / gcc / testsuite / gcc.dg / simd-7.c
1 /* { dg-do compile } */
2 /* { dg-options "-w -Wno-psabi" } */
3
4 #if __SIZEOF_LONG_DOUBLE__ == 16 || __SIZEOF_LONG_DOUBLE__ == 8
5 typedef long double a __attribute__((vector_size (16)));
6
7 a __attribute__((noinline))
8 sum (a first, a second)
9 {
10 return first + second;
11 }
12
13 a
14 foo (a x, a y, a z)
15 {
16 return sum (x, y) + z;
17 }
18 #else
19 int main() {}
20 #endif