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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [unsorted/] [dilayout.c] - Blame information for rev 149

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

Line No. Rev Author Line
1 149 jeremybenn
struct ii
2
{
3
  int a;
4
  int b;
5
};
6
 
7
struct foo
8
{
9
  int a;
10
  struct ii ab;
11
  int b;
12
};
13
 
14
struct ii
15
foo (int *p, struct foo a)
16
{
17
  p[0] = a.a;
18
  p[1] = a.ab.a;
19
  p[2] = a.ab.b;
20
  p[3] = a.b;
21
  return a.ab;
22
}
23
 
24
str (struct ii ab, struct ii *p)
25
{
26
  *p = ab;
27
}
28
 
29
ll (long long ab, long long *p)
30
{
31
  *p = ab;
32
}
33
 

powered by: WebSVN 2.1.0

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