Skip to content

Commit afd6608

Browse files
author
Colin Robertson
authored
Merge pull request MicrosoftDocs#2982 from MicrosoftDocs/FromPublicMasterBranch
Confirm merge from FromPublicMasterBranch to master to sync with https://github.com/MicrosoftDocs/cpp-docs (branch master)
2 parents 1e252ac + f5830fa commit afd6608

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/build/reference/os-ot-favor-small-code-favor-fast-code.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ Minimizes or maximizes the size of EXEs and DLLs.
2222

2323
**/Ot** (Favor Fast Code) maximizes the speed of EXEs and DLLs by instructing the compiler to favor speed over size. (This is the default.) The compiler can reduce many C and C++ constructs to functionally similar sequences of machine code. Occasionally, these differences offer tradeoffs of size versus speed. The **/Ot** option is implied by the Maximize Speed ([/O2](o1-o2-minimize-size-maximize-speed.md)) option. The **/O2** option combines several options to produce very fast code.
2424

25-
If you use **/Os** or **/Ot**, then you must also specify [/Og](og-global-optimizations.md) to optimize the code.
26-
2725
> [!NOTE]
2826
> Information that is gathered from profiling test runs will override optimizations that would otherwise be in effect if you specify **/Ob**, **/Os**, or **/Ot**. For more information, [Profile-Guided Optimizations](../profile-guided-optimizations.md).
2927

0 commit comments

Comments
 (0)