Visible to Intel only — GUID: GUID-465B3A52-775A-4CE2-A6D2-BB19D4E2CAF6
Visible to Intel only — GUID: GUID-465B3A52-775A-4CE2-A6D2-BB19D4E2CAF6
fkeep-static-consts, Qkeep-static-consts
Tells the compiler to preserve allocation of variables that are not referenced in the source.
Linux: |
-fkeep-static-consts -fno-keep-static-consts |
Windows: |
/Qkeep-static-consts (C++ only) /Qkeep-static-consts- (C++ only) |
None
-fno-keep-static-consts |
If a variable is never referenced in a routine, the variable is discarded unless optimizations are disabled by option -O0 (Linux*) or /Od (Windows*). |
This option tells the compiler to preserve allocation of variables that are not referenced in the source.
The negated form can be useful when optimizations are enabled to reduce the memory usage of static data.
None