URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 318 |
Rev 384 |
/* { dg-do run } */
|
/* { dg-do run } */
|
/* { dg-require-effective-target ilp32 } */
|
/* { dg-require-effective-target ilp32 } */
|
/* { dg-options "-O2 -fomit-frame-pointer -mpush-args -mno-accumulate-outgoing-args -m128bit-long-double" } */
|
/* { dg-options "-O2 -fomit-frame-pointer -mpush-args -mno-accumulate-outgoing-args -m128bit-long-double" } */
|
|
|
void abort (void);
|
void abort (void);
|
|
|
void __attribute__((noinline))
|
void __attribute__((noinline))
|
f (long double a)
|
f (long double a)
|
{
|
{
|
if (a != 1.23L)
|
if (a != 1.23L)
|
abort ();
|
abort ();
|
}
|
}
|
|
|
int __attribute__((noinline))
|
int __attribute__((noinline))
|
g (long double b)
|
g (long double b)
|
{
|
{
|
f (b);
|
f (b);
|
return 0;
|
return 0;
|
}
|
}
|
|
|
int
|
int
|
main (void)
|
main (void)
|
{
|
{
|
g (1.23L);
|
g (1.23L);
|
return 0;
|
return 0;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.