Jump to main content
3.8.1.7 XC8 C Compiler - Optimization
Figure 3-16. XC8 C Compiler - Optimization
- Optimization level
- This selector allows you to choose the degree and types of optimization performed.
See, for example, O0: Level 0 Optimizations.
- Prepare functions for garbage collection
- Selecting this checkbox makes function memory allocation suitable for garbage
collection. See Function-sections Option.
- Prepare data for garbage collection
- Selecting this checkbox makes object memory allocation suitable for garbage
collection. See Data-sections Option.
- Pack structure members together
- This option has no effect for 8-bit AVR devices.
- Allocate only as many bytes as needed by enum types
- Enabling this option allocates the smallest possible integer type to an
enum. See Short-enums Option.