1 /* { dg-do compile } */
2 /* { dg-options "-mcpu=nps400 -mcmem -O2" } */
6 unsigned char bool_bit
:1;
7 unsigned char other_bits
:7;
10 struct strange_bool a_strange_bool
__attribute__((section(".cmem")));
15 if (a_strange_bool
.bool_bit
)
19 /* { dg-final { scan-assembler "xldb\\s+r\[0-9\]+,\\\[@a_strange_bool\\\]" } } */
20 /* { dg-final { scan-assembler "btst_s\\s+r\[0-9\]+,7" { target arceb-*-* } } } */