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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [930614-1.c] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
f (double *ty)
2
{
3
  *ty = -1.0;
4
}
5
 
6
main ()
7
{
8
  double foo[6];
9
  double tx = 0.0, ty, d;
10
 
11
  f (&ty);
12
 
13
  if (ty < 0)
14
    ty = -ty;
15
  d = (tx > ty) ? tx : ty;
16
  if (ty != d)
17
    abort ();
18
  exit (0);
19
}

powered by: WebSVN 2.1.0

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