When you compile a program with the +Oreport[=report_type]
optimization option at the +O3
and +O4 levels, the compiler generates
an Optimization Report for each program unit. The +Oreport[=report_type]
option determines the report's contents based on the value
of report_type, as shown in Table 8-1 “Optimization
Report contents”.
Table 8-1 Optimization
Report contents
| report_type values | Report contents |
|---|
| all | Loop Report and Privatization Table |
| loop | Loop Report |
| private | Loop Report and
Privatization Table |
| report_type not given (default) | Loop Report |
The +
Onoreport option does not accept any of the report_type
values. Sample Optimization Reports are provided throughout this
chapter.