Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 9/08/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Deprecated and Removed Compiler Options

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

Deprecated and removed options for SYCL and C++ are listed in separate tables. There are currently no removed options for SYCL.

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

Deprecated Options for SYCL

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

The following table lists options that are currently deprecated.

Note that deprecated options are not limited to this list.

Deprecated Linux and Windows Options

Suggested Replacement

foffload-static-lib

None

fsycl-add-targets

None

fsycl-explicit-simd

None

fsycl-link-targets

None

Deprecated Options for C++

Occasionally, compiler options are marked as "deprecated." Deprecated options are still supported in the current release, but they may 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 Options

Suggested Replacement

daal

qdaal

device-math-lib

None

fopenmp

None

ipp

qipp

Kc++

x c++

march=pentiumii

None

march=pentiumiii

march=pentium3

mkl

qmkl

msse

None

tbb

qtbb

xH

xSSE4.2

Deprecated Windows Options

Suggested Replacement

device-math-lib

None

GX

EHsc

GZ

RTC1

H

None

Qsfalign

None

Quse-asm

None

QxH

QxSSE4.2

Ze

None

Zg

None

Removed Options for C++

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 Options

Suggested Replacement

A-

undef

0f_check

None

c99

std=c99

check-uninit

check=uninit

export

None

export-dir

None

F

P

falign-stack=mode

None

fdiv_check

None

fp

fno-omit-frame-pointer

fvisibility=internal

fvisibility=hidden

fwritable-strings

None

gcc-name and gxx-name

No exact replacement; use gcc-toolchain

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

m32

None

mia32

None

mp

fp-model

msse

None

no-alias-args

fargument-noalias

no-c99

std=c89

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-stubs

qopenmp-stubs

openmp-task

qopenmp-task

opt-gather-scatter-unroll

None

opt-report

qopt-report

opt-streaming-cache-evict

None

prefetch

qopt-prefetch

print-sysroot

None

prof-format-32

None

prof-genx

prof-gen=srcpos

profile-functions

None

profile-loops

None

profile-loops-report

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

None

tpp5

None

tpp6

None

tpp7

None

tprofile

None

Wpragma-once

None

Removed Windows Options

Suggested Replacement

arch:IA32

None

arch:SSE

None

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

Oy

None

QA-

u

Qc99

Qstd=c99

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

Qm32

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

Qprefetch

Qopt-prefetch

Qprof-format-32

None

Qprofile-functions

None

Qprofile-loops

None

Qprofile-loops-report

None

Qrct

None

Qssp

None

Qtprofile

None

Qtcheck

None

Qvc11

Qvc10

Qvc9 and earlier

None

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