OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr44948-2b.c] - Blame information for rev 691

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* { 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.