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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [unsorted/] [BUG11.c] - Blame information for rev 724

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

Line No. Rev Author Line
1 688 jeremybenn
#define DD 2410065408
2
 
3
unsigned
4
foo (d)
5
     double d;
6
{
7
  return d;
8
}
9
 
10
#if foobar
11
 
12
main ()
13
{
14
#if bar
15
  unsigned u = DD;
16
  double d = (double) u;
17
#else
18
  double d = (double) DD;
19
#endif
20
  printf ("%u = %u = %lf\n", foo ((double) DD), foo (d), d);
21
}
22
#else
23
 
24
main ()
25
{
26
  printf ("%lf\n", (double) ((unsigned) DD));
27
  foo ((double) DD);
28
}
29
#endif

powered by: WebSVN 2.1.0

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