# Deprecated and Removed Compiler Options

This topic lists deprecated and removed compiler options and suggests replacement options, if any are available.

For more information on compiler options, see the detailed descriptions of the individual option descriptions in this section.

## Deprecated Options

Occasionally, compiler options are marked as "deprecated." Deprecated options are still supported in the current release, but are planned to be unsupported in future releases.

The following two tables list options that are currently deprecated.

Note that deprecated options are not limited to these lists.

Deprecated Linux* and macOS*Options | Suggested Replacement
--- | ---
-axS | -axSSE4.1
-axT | Linux*: -axSSSE3 macOS*: -axSSSE3
-fmudflap | None; consider using the Pointer Checker options (such as option –check pointers)
-Kc++ | -x c++
-march=pentiumii | None
-march=pentiumiii | -march=pentium3
-mcpu | -mtune
-msse | Linux* only: -mia32
-prof-gen-sampling | None
-prof-use-sampling | None
-rcd | None
-use-asm | None
-wd | -diag-disable
-we | -diag-error
-wn | -diag-error-limit
-wo | -diag-once id[,id,...]
-wr | -diag-remark
-ww | -diag-warning
-xH | -xSSE4.2
-xS | -xSSE4.1
-xT | Linux: -xSSSE3 macOS*: -xSSSE3

Deprecated Windows* Options | Suggested Replacement
--- | ---
/arch:SSE | /arch:IA32
/Fr | /FR
/Ge | /Gs0
/GX | /EHsc
/Gy | None
/GZ | /RTC1
/H | None
/QaxS | /QaxSSE4.1
/QaxT | /QaxSSSE3
/QIfist | /Qrcd
/Qrcd | None
/Qsox | None
/Quse-asm | None
/Qwd | /Qdiag-disable
/Qwe | /Qdiag-error
/Qwn | /Qdiag-error-limit:<n>
/Qwo | /Qdiag-once
/Qwr | /Qdiag-remark
/Qww | /Qdiag-warning
/QxH | /QxSSE4.2
/QxS | /QxSSE4.1
/QxT | /QxSSSE3
/Yd | /Z7, /Zi, or/Zl
/Ze | None
/Zg | None

## Removed Options

Some compiler options are no longer supported and have been removed. If you use one of these options, the compiler issues a warning, ignores the option, and then proceeds with compilation.

The following two tables list options that are no longer supported.

Note that removed options are not limited to these lists.

Removed Linux* and macOS*Options | Suggested Replacement
--- | ---
-A- | -undef
-0f_check | None
-alias-args | -fargument-alias
-axB | -axSSE2
-axH | -axSSE4.2
-axi | None
-axK | No exact replacement; upgrade to -msse2
-axM | None
-axN | Linux*: -axSSE2 macOS*: None
-axP | Linux: -axSSE3 macOS*: None
-axW | -msse2
-c99 | -std=c99
-check-uninit | -check=uninit
-create-pch | -pch-create
-cxxlib-gcc[=dir] | -cxxlib[=dir]
-cxxlib-icc | None
-export | None
-export-dir | None
-F | -P
-falign-stack=mode | None; this option is only removed on macOS*
-fdiv_check | None
-fms-dialect (macOS* only) | None
-fms-dialect=11 -fms-dialect=10 -fms-dialect=9 | None
-fp | -fno-omit-frame-pointer
-fpstkchk | -fp-stack-check
-func-groups | -prof-func-groups
-fvisibility=internal | -fvisibility=hidden
-fwritable-strings | None
-gcc-version | No exact replacement; use -gcc-name
-guide-profile | None
-i-dynamic | -shared-intel
-i-static | -static-intel
-inline-debug-info | -debug inline-debug-info
-ipo-obj (and -ipo_obj) | None
-ipp-link=static-thread | None
-Knopic, -KNOPIC | -fpic
-Kpic, -KPIC | -fpic
-mp | -fp-model
-no-alias-args | -fargument-noalias
-no-c99 | -std=c89
-no-cpprt | -no-cxxlib
-nobss-init | -no-bss-init
-norestrict | -no-restrict
-Ob | -inline-level
-openmp | -qopenmp
-openmp-lib | -qopenmp-lib
-openmp-lib legacy | None
-openmp-link and -qopenmp-link | None
-openmpP | -qopenmp
-openmp-profile | None
-openmp-report | -qopt-report-phase=openmp
-openmpS | -qopenmp-stubs
-openmp-simd | -qopenmp-simd
-openmp-stubs | -qopenmp-stubs
-openmp-task | -qopenmp-task
-openmp-threadprivate | -qopenmp-threadprivate
-opt-args-in-regs | -qopt-args-in-regs
-opt-assume-safe-padding | -qopt-assume-safe-padding
-opt-block-factor | -qopt-block-factor
-opt-calloc | -qopt-calloc
-opt-class-analysis | -qopt-class-analysis
-opt-dynamic-align | -qopt-dynamic-align
-opt-gather-scatter-unroll | None
-opt-jump-tables | -qopt-jump-tables
-opt-malloc-options | -qopt-malloc-options
-opt-matmul | -qopt-matmul
-opt-mem-layout-trans | -qopt-mem-layout-trans
-opt-multi-version-aggressive | -qopt-multi-version-aggressive
-opt-prefetch | -qopt-prefetch
-opt-prefetch-distance | -qopt-prefetch-distance
-opt-ra-region-strategy | -qopt-ra-region-strategy
-opt-report | -qopt-report
-opt-report-embed | -qopt-report-embed
-opt-report-file | -qopt-report-file
-opt-report-filter | -qopt-report-filter
-opt-report-format | -qopt-report-format
-opt-report-help | -qopt-report-help
-opt-report-level | -qopt-report
-opt-report-per-object | -qopt-report-per-object
-opt-report-phase | -qopt-report-phase
-opt-report-routine | -qopt-report-routine
-opt-streaming-cache-evict | None
-opt-streaming-stores | -qopt-streaming-stores
-opt-subscript-in-range | -qopt-subscript-in-range
-par-report | -qopt-report-phase=par
-prefetch | -qopt-prefetch
-prof-format-32 | None
-prof-genx | -prof-gen=srcpos
-profile-functions | None
-profile-loops | None
-profile-loops-report | None
-qoffload-arch | None
-qoffload-attribute-target | None
-qoffload-option | None
-qopenmp-report | -qopt-report-phase=openmp
-qopenmp-task | None
-qp | -p
-rct | None
-shared-libcxa | -shared-libgcc
-ssp | None
-static-libcxa | -static-libgcc
-std=c9x | -std=c99
-syntax | -fsyntax-only
-tcheck | None
-tpp1 | None
-tpp2 | -mtune=itanium2
-tpp5 | None
-tpp6 | None
-tpp7 | -mtune=pentium4
-tprofile | None
-use-pch | -pch-use
-vec-report | -qopt-report-phase=vec
-Wpragma-once | None
-xB | -xSSE2
-xi | None
-xK | No exact replacement; upgrade to -msse2
-xM | None
-xN | Linux: -xSSE2 macOS*: None
-xO | -msse3
-xP | Linux: -xSSE3 macOS*: None
-xSSE3_ATOM | -xATOM_SSSE3
-xSSSE3_ATOM | -xATOM_SSSE3
-xW | -msse2

Removed Windows* Options | Suggested Replacement
--- | ---
/debug:parallel | None
/G5 | None
/G6 (or /GB) | None
/G7 | None
/Gf | /GF
/ML[d] | Upgrade to /MT[d]
/Og | /O1, /O2, or /O3
/Op | /fp:precise
/QA- | /u
/QaxB | /QaxSSE2
/QaxH | /QaxSSE4.2
/Qaxi | None
/QaxK | Upgrade to /arch:SSE2
/QaxM | None
/QaxN | /QaxSSE2
/QaxP | /QaxSSE3
/QaxW | /arch:SSE2
/Qc99 | /Qstd=c99
/Qfpstkchk | /Qfp-stack-check
/Qguide-profile | None
/Qgpu-arch:ivybridge | None
/QI0f | None
/QIfdiv | None
/Qinline-debug-info | /debug:inline-debug-info
/Qipo-obj (and /Qipo_obj) | None
/Qipp-link:static-thread | None
/Qmspp | None
/Qopenmp-lib:legacy | None
/Qopenmp-link | None
/Qopenmp-profile | None
/Qopenmp-report | /Qopt-report-phase:openmp
/Qopenmp-task | None
/Qopt-report-level | /Qopt-report
/Qpar-report | /Qopt-report-phase:par
/Qprefetch | /Qopt-prefetch
/Qprof-format-32 | None
/Qprof-gen-sampling | None
/Qprof-genx | /Qprof-gen=srcpos
/Qprofile-functions | None
/Qprofile-loops | None
/Qprofile-loops-report | None
/Qrct | None
/Qssp | None
/Qtprofile | None
/Qtcheck | None
/Qvc11 /Qvc10 /Qvc9 and earlier | None
/Qvec-report | /Qopt-report-phase:vec
/QxB | /QxSSE2
/Qxi | None
/QxK | Upgrade to /arch:SSE2
/QxM | None
/QxN | /QxSSE2
/QxO | /arch:SSE3
/QxP | /QxSSE3
/QxSSE3_ATOM | /QxATOM_SSSE3
/QxSSSE3_ATOM | /QxATOM_SSSE3
/QxW | /arch:SSE2
/YX | None
/Zd | /debug:minimal

Product and Performance Information
Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex. Notice revision #20201201

Parent topic: Compiler Options