URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 691 |
Rev 783 |
/* { dg-do run } */
|
/* { dg-do run } */
|
/* { dg-options "(-mips16)" } */
|
/* { dg-options "(-mips16)" } */
|
|
|
extern void abort (void);
|
extern void abort (void);
|
|
|
__complex float f = { -1.0 + -1.0i };
|
__complex float f = { -1.0 + -1.0i };
|
__complex float __attribute__((nomips16)) foo (void) { return f; }
|
__complex float __attribute__((nomips16)) foo (void) { return f; }
|
__complex float (*volatile foop) (void) = foo;
|
__complex float (*volatile foop) (void) = foo;
|
__complex float __attribute__((mips16, noinline)) bar (void) { return foop (); }
|
__complex float __attribute__((mips16, noinline)) bar (void) { return foop (); }
|
|
|
int
|
int
|
main (void)
|
main (void)
|
{
|
{
|
if (bar () != f)
|
if (bar () != f)
|
abort ();
|
abort ();
|
return 0;
|
return 0;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.