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/] [strct-pack-2.c] - Blame information for rev 301

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

Line No. Rev Author Line
1 297 jeremybenn
typedef struct
2
{
3
  short a __attribute__ ((aligned (2),packed));
4
  short *ap[2]  __attribute__ ((aligned (2),packed));
5
} A;
6
 
7
main ()
8
{
9
  short i, j = 1;
10
  A a, *ap = &a;
11
  ap->ap[j] = &i;
12
  exit (0);
13
}

powered by: WebSVN 2.1.0

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