User and Reference Guide for the Intel® C++ Compiler 14.0
Determines whether the compiler checks bounds for memory access through pointers on processors that support Intel® Memory Protection Extensions (Intel® MPX).
Not available on Intel® 64 architecture targeting Intel® MIC Architecture, or on IA-32 architecture targeting Intel® Graphics Technology
Linux OS: | -check-pointers-mpx=keyword |
OS X: | None |
Windows OS: | /Qcheck-pointers-mpx:keyword |
keyword |
Specifies what type of bounds checking occurs. Possible values are:
|
-check-pointers-mpx=none or /Qcheck-pointers-mpx:none |
No bounds checking occurs for memory access through pointers on processors that support Intel® MPX. |
This option determines whether the compiler checks bounds for memory access through pointers on processors that support Intel® MPX. It enables checking of all indirect accesses through pointers, and all array accesses.
The compiler may optimize these checks away when it can determine that an access is safe.
If you specify option [Q]check-pointers along with option [Q]check-pointers-mpx, option [Q]check-pointers-mpx takes precedence.
If you specify [Q]check-pointers-mpx, you cannot specify option [Q]check-pointers-dangling.
This pointer checker feature requires installation of another product. For more information, see Feature Requirements.
Windows: Code Generation > Check Pointers
Linux: Code Generation > Check Pointers
OS X: None
None