Skip to main content

IAR Embedded Workbench for RISC-V 3.40.x

‑‑enable_restrict

In this section:
Syntax
‑‑enable_restrict 
Description

Enables the Standard C keyword restrict in C89 and C++. By default, restrict is recognized in Standard C and __restrict is always recognized.

This option can be useful for improving analysis precision during optimization.

Caution

To set this option, use Project>Options>C/C++ Compiler>Extra options