Intel® Fortran Compiler 17.0 Developer Guide and Reference
Enables optimizations that do not increase code size; it produces smaller code size than O2.
Linux and macOS: | -Os |
Windows: | /Os |
None
OFF |
Optimizations are made for code speed. However, if O1 is specified, Os is the default. |
This option enables optimizations that do not increase code size; it produces smaller code size than O2. It disables some optimizations that increase code size for a small speed benefit.
This option tells the compiler to favor transformations that reduce code size over transformations that produce maximum performance.
Visual Studio: Optimization > Favor Size or Speed
Eclipse: None
Xcode: None
None