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.

IDE Equivalent

None

Alternate Options

None

See Also

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.