1 /* { dg-do compile } */ 2 /* { dg-options "-mh -O2 -w" } */ 3 /* { dg-final { scan-assembler-times ":8" 2 } } */ 4 5 6 struct x { 7 char x; 8 char y; 9 }; 10 11 struct x __attribute__ ((eightbit_data)) foo; 12 bar()13int bar () 14 { 15 if ((foo.y & 0x80) != 0) 16 oof (); 17 } 18 com()19int com () 20 { 21 if ((foo.x & 0x80) != 0) 22 oof (); 23 } 24