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/] [execute/] [align-nest.c] - Rev 297

Compare with Previous | Blame | View Log

 
void foo(int n)
{
  typedef struct
  {
    int value;
  } myint;
 
  struct S
  {
    int i[n];
    unsigned int b:1;
    myint mi;
  } __attribute__ ((packed)) __attribute__ ((aligned (4)));
 
  struct S s[2];
  int k;
 
  for (k = 0; k < 2; k ++)
    s[k].mi.value = 0;
}
 
int main ()
{
  foo (2);
  return 0;
}
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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