‑‑no_mem_idioms
In this section:
Syntax
Description
Use this option to make the compiler not optimize code sequences that clear, set, or copy a memory region. These memory access patterns (idioms) can otherwise be aggressively optimized, in some cases using calls to the runtime library. In principle, the transformation can involve more than a library call.
Caution
To set this option, use Project>Options>C/C++ Compiler>Extra Options.