The options listed in the following table are supported under the corresponding Option Category.
Option Category |
Use |
Option Name |
---|---|---|
General |
Show startup banner |
|
Include debug information |
||
Optimization level |
-O0 |
|
-O2 |
||
Warning level |
||
Optimization |
Provide frame pointers |
|
Enable prefetch insertion optimization |
||
Enable interprocedural optimization for single file compilation |
||
Enable Whole Program Optimization |
-ipo |
|
Disable intrinsic inline expansion |
||
Inline function expansion |
||
Profile Guided Optimization |
-prof-gen -prof-gen:srcpos -prof-use |
|
profile Directory |
-prof-dir |
|
Optimize for Intel processor |
||
Loop unroll count |
||
Parallelization |
||
Auto-parallelization Threshold |
||
Precompiled |
Automatic processing for precompiled headers |
|
Precompiled headers file directory |
||
Preprocessor |
gcc compatibility options |
|
Enable gcc predefined macros |
||
Non-standard gcc installation |
||
Additional include directories |
||
Ignore standard include path |
||
Preprocessor definitions |
||
Undefine preprocessor definitions |
||
Undefine all preprocessor definitions |
||
Language |
Enable use of ANSI aliasing rules in optimizations |
|
ANSI conformance |
||
Recognize the restrict keyword |
||
Support multibyte characters in source |
||
Process OpenMP* directives |
||
Compilation |
Treat warnings as errors |
|
Allow usage messages |
||
>Enable warnings for style guideline violations |
||
Set error limit |
-diag-error-limit |
|
Optimization Diagnostics |
-opt-report |
|
Emit Optimization Diagnostics to File |
-opt-report-file |
|
Optimization Diagnostic Phase |
-opt-report-phase |
|
Optimization Diagnostics Routine |
-opt-report-routine |
|
OpenMP report |
||
Auto-parallelizer |
||
Vectorizer report |
||
Disable Specific Diagnostics |
||
Emit Diagnostics To File |
||
Level of Static Analysis |
-diag-enable sv[n] |
|
Analyze Include Files |
-diag-enable sv-include |
|
Data |
Enable argument aliasing |
|
Assume Restrict Semantics for Const |
||
Assume no aliasing in program |
||
Allow gprel addressing of common data variables |
||
Allocate as many bytes as needed for enumerated types |
||
Change default bitfield type to unsigned |
||
Change default char type to unsigned |
||
Disable placement of zero-initialized variables in .bss - use .data |
||
Default symbol visibility |
||
Structure member alignment |
||
Floating Point |
Improve floating-point consistency |
|
Round floating-point results |
||
Limit Complex range |
||
Check floating-point stack |
||
Reliable floating-point exceptions model |
||
Floating-point speculation |
||
Floating-point model |
||
Flush denormal results to zero |
||
Output Files |
Generate assembler source file |
|
Code |
Generate position-independent code |
|
Initialize local variables to NaN |
||
Use Intel processor extensions |
||
Require Intel processor extensions |
||
Runtime |
Generate traceback information |
|
Check uninitialized variables |