SW006015 Microchip Technology, SW006015 Datasheet - Page 97

C COMPILER MPLAB C32

SW006015

Manufacturer Part Number
SW006015
Description
C COMPILER MPLAB C32
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC32r
Datasheets

Specifications of SW006015

Supported Families
PIC32MX5, MX6, And MX7
Core Architecture
PIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC32 MCUs
Tool Function
Compiler
Supported Devices
PIC32 MCUs
Tool Type
Compiler
Processor Series
PIC32
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC32
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
A.11 HINTS
A.12 STRUCTURES, UNIONS, ENUMERATIONS, AND BIT-FIELDS
© 2007 Microchip Technology Inc.
ISO Standard:
Implementation:
ISO Standard:
Implementation:
ISO Standard:
Implementation:
ISO Standard:
Implementation:
ISO Standard:
Implementation:
ISO Standard:
Implementation:
ISO Standard:
Implementation:
ISO Standard:
Implementation:
ISO Standard:
“The size of the result of subtracting two pointers to elements of
the same array (C90 6.3.6, C99 6.5.6).”
32 bit signed integer.
“The extent to which suggestions made by using the register
storage-class specifier are effective (C90 6.5.1, C99 6.7.1).”
The register storage class specifier generally has no effect.
“The extent to which suggestions made by using the inline function
specifier are effective (C99 6.7.4).”
If -fno-inline or -O0 are specified, no functions will be inlined,
even if specified with the inline specifier. Otherwise, the
function may or may not be inlined dependent on the optimization
heuristics of the compiler.
“A member of a union object is accessed using a member of a
different type (C90 6.3.2.3).”
The corresponding bytes of the union object are interpreted as an
object of the type of the member being accessed without regard
for alignment or other possible invalid conditions.
“Whether a “plain” int bit-field is treated as a signed int bit-field or
as an unsigned int bit-field (C90 6.5.2, C90 6.5.2.1, C99 6.7.2, C99
6.7.2.1).”
By default, a plain int bit-field is treated as a signed integer. This
behavior can be altered by use of the -funsigned-bitfields
command line option.
“Allowable bit-field types other than _Bool, signed int, and
unsigned int (C99 6.7.2.1).”
No other types are supported.
“Whether a bit-field can straddle a storage-unit boundary (C90
6.5.2.1, C99 6.7.2.1).”
No.
“The order of allocation of bit-fields within a unit (C90 6.5.2.1, C99
6.7.2.1).”
Bit-fields are allocated left to right.
“The alignment of non-bit-field members of structures (C90
6.5.2.1, C99 6.7.2.1).”
DS51686A-page 93

Related parts for SW006015