Can massive nested loops cause the linker to run endlessly when compiling in Release-Mode?

后端 未结 6 1151
悲&欢浪女
悲&欢浪女 2020-12-30 05:59

I\'m compiling a very small Win32 command-line application in VS2010 Release-Mode, with all speed optimizations turned on (not memory optimizations).

This a

6条回答
  •  遥遥无期
    2020-12-30 06:11

    Nested loops only affect the linker in terms of Link Time Code Generation. There's tons of options that determine how this works in detail.

    For a start I suggest disabling LTCG alltogether to see if there's some other unusual problem.

    If it links fine in Release with LTCG disabled you can experiment with inlining limits, intrinsics and optimization level.

提交回复
热议问题