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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 688 jeremybenn
extern double sqrt (double);
2
extern void abort (void);
3
int once;
4
 
5
double foo (void)
6
{
7
  if (once++)
8
    abort ();
9
  return 0.0 / 0.0;
10
}
11
 
12
double x;
13
int main (void)
14
{
15
  x = sqrt (foo ());
16
  return 0;
17
}

powered by: WebSVN 2.1.0

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