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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr44891.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
struct S
2
{
3
  float f;
4
  long l;
5
};
6
 
7
extern int gi;
8
extern float gf;
9
 
10
long foo (long p)
11
{
12
  struct S s;
13
  float *pf;
14
 
15
  s.l = p;
16
 
17
  pf = &s.f;
18
 
19
  pf++;
20
  pf--;
21
 
22
  gf = *pf + 3.3;
23
  gi = *((int *)pf) + 2;
24
 
25
  return s.l + 6;
26
}

powered by: WebSVN 2.1.0

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