Controls the maximum number of gap bits allowed.
#pragma bfield_gap_limit <number>
0
When performing bitfield allocation, the compiler tries to avoid crossing a byte boundary whenever possible. In doing so, it may insert some padding(gap) bits.
Its functionality is equivalent to that of command line option,
-bfield_gap_limit
This pragma can also be used to force word as the allocation unit for bitfields. To achieve this, use the pragma with a negative argument, for example:
#pragma bfield_gap_limit -1
For more information, refer to the topic -bfield_gap_limit.