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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr39678.c] - Blame information for rev 318

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 318 jeremybenn
/* PR target/39678 */
2
/* { dg-do compile } */
3
/* { dg-require-effective-target lp64 } */
4
/* { dg-options "-O2" } */
5
 
6
struct X {
7
  char c;
8
  __complex__ float val;
9
};
10
 
11
struct X
12
foo (float *p)
13
{ /* { dg-message "note: The ABI of passing structure with complex float member has changed in GCC 4.4" } */
14
  struct X x;
15
  x.c = -3;
16
  __real x.val = p[0];
17
  __imag x.val = p[1];
18
  return x;
19
}

powered by: WebSVN 2.1.0

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