Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr44948-2b.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O -mno-sse -Wno-psabi -mtune=generic" } */
3
4 struct A
5 {
6 float V4SF __attribute__ ((vector_size (16)));
7 };
8
9 void
10 foo (long double x, struct A y, long double z)
11 {
12 int i;
13 struct A a = { { 0, 1, 2, 3 } };
14
15 if (x != 8.0L || z != 8.0L)
16 __builtin_abort ();
17 if (__builtin_memcmp (&a, &y, sizeof (a)))
18 __builtin_abort ();
19 }