Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / arm / volatile-bitfields-1.c
blobd841ca1c2b286e69cd2b18ba9c8eea83bb08f6e1
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_eabi } */
3 /* { dg-options "-O2" } */
5 typedef struct {
6 char a:1;
7 char b:7;
8 int c;
9 } BitStruct;
11 volatile BitStruct bits;
13 int foo ()
15 return bits.b;
18 /* { dg-final { scan-assembler "ldrb\[\\t \]+\[^\n\]*,\[\\t \]*\\\[\[^\n\]*\\\]" } } */