URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 384 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-Wno-packed-bitfield-compat" } */
|
/* { dg-options "-Wno-packed-bitfield-compat" } */
|
/* { dg-options "-Wno-packed-bitfield-compat -mno-ms-bitfields" { target i?86-*-netware } } */
|
/* { dg-options "-Wno-packed-bitfield-compat -mno-ms-bitfields" { target i?86-*-netware } } */
|
|
|
struct t
|
struct t
|
{
|
{
|
char a:4;
|
char a:4;
|
char b:8;
|
char b:8;
|
char c:4;
|
char c:4;
|
} __attribute__ ((packed));
|
} __attribute__ ((packed));
|
|
|
int assrt[sizeof (struct t) == 2 ? 1 : -1];
|
int assrt[sizeof (struct t) == 2 ? 1 : -1];
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.