Enables pointer disambiguation with the restrict qualifier.
Linux: Language > Recognize the Restrict Keyword
IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture
Linux: | -[no-]restrict |
Windows: | /Qrestrict |
/Qrestrict- |
None
OFF | Pointers are not qualified with the restrict keyword. |
This option enables pointer disambiguation with the restrict qualifier. It enables the recognition of the restrict keyword as defined by the ANSI standard.
By qualifying a pointer with the restrict keyword, you assert that an object accessed by the pointer is only accessed by that pointer in the given scope. You should use the restrict keyword only when this is true. When the assertion is true, the restrict option will have no effect on program correctness, but may allow better optimization.
None
Qc99 compiler option