blob: a407c74b4cdbb3a068b04c1253fcc8006665448a [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-mh -O2 -w" } */
/* { dg-final { scan-assembler-times ":8" 2 } } */
struct x {
char x;
char y;
};
struct x __attribute__ ((eightbit_data)) foo;
int bar ()
{
if ((foo.y & 0x80) != 0)
oof ();
}
int com ()
{
if ((foo.x & 0x80) != 0)
oof ();
}