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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20080502-1.c] - Blame information for rev 711

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
/* PR target/36090 */
2
 
3
extern void abort (void);
4
 
5
long double __attribute__ ((noinline)) foo (long double x)
6
{
7
  return __builtin_signbit (x) ? 3.1415926535897932384626433832795029L : 0.0;
8
}
9
 
10
int
11
main (void)
12
{
13
  if (foo (-1.0L) != 3.1415926535897932384626433832795029L)
14
    abort ();
15
  return 0;
16
}

powered by: WebSVN 2.1.0

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