You copied the Doc URL to your clipboard.

How the compiler handles bit-band objects placed outside bit-band regions

Bit-band objects must not be placed outside bit-band regions. If you do inadvertently place a bit-band object outside a bit-band region, either using the at attribute, or using an integer pointer to a particular address, the compiler responds as follows:

  • If the bitband attribute is applied to an object type and --bitband is not specified on the command line, the compiler generates an error.

  • If the bitband attribute is applied to an object type and --bitband is specified on the command line, the compiler generates a warning, and ignores the request to bit-band.

  • If the bitband attribute is not applied to an object type and --bitband is specified on the command line, the compiler ignores the request to bit-band.

Was this page helpful? Yes No