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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr40582.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 A
2
{
3
  void* q;
4
  short i;
5
};
6
 
7
union U
8
{
9
  char* p;
10
  struct A a;
11
};
12
 
13
struct A foo(union U u)
14
{
15
  struct A a = { 0, 0 };
16
  a = u.a;
17
  return a;
18
}

powered by: WebSVN 2.1.0

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