Properties for Supported Options

The options listed in the following table are supported under the corresponding Option Category.

C and C++ Compiler Options

Option Category

Use

Option Name

General

Show startup banner

-V

Include debug information

-g

Optimization level

-O0
(default for Debug Config.)

-O1

-O2
(default for Release Config.)

-O3

Warning level

-w

Optimization

Provide frame pointers

-fno-omit-frame-pointer

Enable prefetch insertion optimization

-opt-prefetch[=n]

Enable interprocedural optimization for single file compilation

-ip

Enable Whole Program Optimization

-ipo

Disable intrinsic inline expansion

-nolib-inline

Inline function expansion

-inline-level

Profile Guided Optimization

-prof-gen

-prof-gen:srcpos

-prof-use

profile Directory

-prof-dir

Optimize for Intel processor

-mtune

Loop unroll count

-unroll

Parallelization

-parallel

Auto-parallelization Threshold

-par-threshold

Precompiled

Automatic processing for precompiled headers

-pch

Precompiled headers file directory

-pch-dir

Preprocessor

gcc compatibility options

-cxxlib

-fabi-version

-gcc-version

Enable gcc predefined macros

-no-gcc

-gcc-sys

Non-standard gcc installation

-gcc-name

Additional include directories

-I

Ignore standard include path

-X

Preprocessor definitions

-D

Undefine preprocessor definitions

-U

Undefine all preprocessor definitions

-A-

Language

Enable use of ANSI aliasing rules in optimizations

-ansi-alias

ANSI conformance

-ansi

-strict-ansi

-std

Recognize the restrict keyword

-restrict

Support multibyte characters in source

-multibyte-chars

Process OpenMP* directives

-openmp

-openmp-stubs

Compilation
Diagnostics

Treat warnings as errors

-Werror

Allow usage messages

-Wcheck

>Enable warnings for style guideline violations

-Weffc++

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

-openmp-report

Auto-parallelizer

-par-report

Vectorizer report

-vec-report

Disable Specific Diagnostics

-diag-disable

Emit Diagnostics To File

-diag-file=filespec

Level of Static Analysis

-diag-enable sv[n]

Analyze Include Files

-diag-enable sv-include

Data

Enable argument aliasing

-fargument-alias

Assume Restrict Semantics for Const

-alias-const

Assume no aliasing in program

-fno-alias

Allow gprel addressing of common data variables

-fno-common

Allocate as many bytes as needed for enumerated types

-fshort-enums

Change default bitfield type to unsigned

-funsigned-bitfields

Change default char type to unsigned

-funsigned-char

Disable placement of zero-initialized variables in .bss - use .data

-no-bss-init

Default symbol visibility

-fvisibility

Structure member alignment

-Zp

Floating Point

Improve floating-point consistency

-mp

Round floating-point results

-fp-port

Limit Complex range

-complex-limited-range

Check floating-point stack

-fp-stack-check

Reliable floating-point exceptions model

-fp-model except

Floating-point speculation

-fp-speculation=safe

Floating-point model

-fp-model

Flush denormal results to zero

-ftz

Output Files

Generate assembler source file

-S

Code
Generation

Generate position-independent code

-fpic

Initialize local variables to NaN

-ftrapuv

Use Intel processor extensions

-ax

Require Intel processor extensions

-x

Runtime

Generate traceback information

-traceback

Check uninitialized variables

-check-uninit

Linker Options

Option Category

Use

Option Name

Libraries

Link with static libraries

-static

Link with dynamic libraries

-shared-intel

Use no C++ libraries

-no-cxxlib

Use no system libraries

-nodefaultlibs

Additional libraries

-l

Search directory for libraries

-L

Optimization

Disable link-time IPO phase

-no-ipo