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

ID 767253
Date 3/22/2024
Public

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

Document Table of Contents

fbuiltin, Oi

Enables or disables inline expansion of intrinsic functions.

Syntax

Linux:

-fbuiltin[-name]

-fno-builtin[-name]

Windows:

/Oi[-]

/Qno-builtin-name

Arguments

name

Is a list of one or more intrinsic functions. If there is more than one intrinsic function, they must be separated by commas.

Default

ON

Inline expansion of intrinsic functions is enabled.

Description

This option enables or disables inline expansion of one or more intrinsic functions.

If -fno-builtin-name or /Qno-builtin-name is specified, inline expansion is disabled for the named functions. If name is not specified, -fno-builtin or /Oi- disables inline expansion for all intrinsic functions.

For a list of built-in functions affected by -fbuiltin, search for "built-in functions" in the appropriate gcc* documentation.

For a list of built-in functions affected by /Oi, search for "/Oi" in the appropriate Microsoft* Visual C/C++* documentation.

IDE Equivalent

Visual Studio: Optimization > Enable Intrinsic Functions (/Oi)

Eclipse: None

Alternate Options

None