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] - Diff between revs 149 and 154

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
struct ii
struct ii
{
{
  int a;
  int a;
  int b;
  int b;
};
};
 
 
struct foo
struct foo
{
{
  int a;
  int a;
  struct ii ab;
  struct ii ab;
  int b;
  int b;
};
};
 
 
struct ii
struct ii
foo (int *p, struct foo a)
foo (int *p, struct foo a)
{
{
  p[0] = a.a;
  p[0] = a.a;
  p[1] = a.ab.a;
  p[1] = a.ab.a;
  p[2] = a.ab.b;
  p[2] = a.ab.b;
  p[3] = a.b;
  p[3] = a.b;
  return a.ab;
  return a.ab;
}
}
 
 
str (struct ii ab, struct ii *p)
str (struct ii ab, struct ii *p)
{
{
  *p = ab;
  *p = ab;
}
}
 
 
ll (long long ab, long long *p)
ll (long long ab, long long *p)
{
{
  *p = ab;
  *p = ab;
}
}
 
 
 
 

powered by: WebSVN 2.1.0

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