• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Compile this twice:
3  * gcc -g -c -DBEFORE -o PR28073.before.o PR28073.c
4  * gcc -g -c -o PR28073.after.o PR28073.c
5  */
6 
7 #include <inttypes.h>
8 
9 struct bigstruct {
10   char name[128];
11   uint8_t bitfield0:1
12   #ifndef BEFORE
13   ,bitfield1:1
14     #endif
15     ;
16   uint8_t other;
17 };
18 
access_bigstruct(struct bigstruct * st)19 void access_bigstruct(struct bigstruct *st)
20 {
21   #ifndef BEFORE
22   st->bitfield1 = 1;
23   #endif
24 }
25