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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr40582.c] - Blame information for rev 297

Details | Compare with Previous | View Log

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