URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 318 |
Rev 338 |
/* PR target/39678 */
|
/* PR target/39678 */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-require-effective-target lp64 } */
|
/* { dg-require-effective-target lp64 } */
|
/* { dg-options "-O2" } */
|
/* { dg-options "-O2" } */
|
|
|
struct X {
|
struct X {
|
char c;
|
char c;
|
__complex__ float val;
|
__complex__ float val;
|
};
|
};
|
|
|
struct X
|
struct X
|
foo (float *p)
|
foo (float *p)
|
{ /* { dg-message "note: The ABI of passing structure with complex float member has changed in GCC 4.4" } */
|
{ /* { dg-message "note: The ABI of passing structure with complex float member has changed in GCC 4.4" } */
|
struct X x;
|
struct X x;
|
x.c = -3;
|
x.c = -3;
|
__real x.val = p[0];
|
__real x.val = p[0];
|
__imag x.val = p[1];
|
__imag x.val = p[1];
|
return x;
|
return x;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.