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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 688 jeremybenn
double glob_dbl;
2
 
3
f (pdbl, value)
4
     double *pdbl;
5
     double value;
6
{
7
  if (pdbl == 0)
8
    pdbl = &glob_dbl;
9
 
10
  *pdbl = value;
11
}
12
 
13
main ()
14
{
15
  f ((void *) 0, 55.1);
16
 
17
  if (glob_dbl != 55.1)
18
    abort ();
19
  exit (0);
20
}

powered by: WebSVN 2.1.0

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