summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr44948-2b.c
blob: fa1769b62fbb3a62a7d35f8245b1ea38cc2d7c4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* { dg-do compile } */
/* { dg-options "-O -mno-sse -Wno-psabi -mtune=generic" } */

struct A
{ 
  float V4SF __attribute__ ((vector_size (16)));
};

void
foo (long double x, struct A y, long double z)
{
  int i;
  struct A a = { { 0, 1, 2, 3 } };

  if (x != 8.0L || z != 8.0L)
    __builtin_abort ();
  if (__builtin_memcmp (&a, &y, sizeof (a)))
    __builtin_abort ();
}