Debian Codegraph @

gcc/testsuite/gcc.target/pru/insv-1.c

raw
1 /* { dg-do assemble } */
2 /* { dg-options "-Os" } */
3 /* { dg-final { object-size text <= 16 } } */
4
5 struct S {
6 unsigned int a : 5;
7 unsigned int b : 1;
8 unsigned int c : 1;
9 };
10
11 void test(struct S *s)
12 {
13 s->b = 1;
14 }