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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [unsorted/] [BUG11.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 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.