Developer Guide and Reference

Contents

mstringop-inline-threshold, Qstringop-inline-threshold

Tells the compiler to not inline calls to buffer manipulation functions such as memcpy and memset when the number of bytes the functions handle are known at compile time and greater than the specified value.

Syntax

Linux and macOS:
-mstringop-inline-threshold
=
val
Windows:
/Qstringop-inline-threshold
:
val
Arguments
val
Is a positive 32-bit integer. If the size is greater than
val
, the compiler will never inline it.
Default
OFF
The compiler uses its own heuristics to determine the default.
Description
This option tells the compiler to not inline calls to buffer manipulation functions such as memcpy and memset when the number of bytes the functions handle are known at compile time and greater than the specified
val
.
Alternate Options
None