On Sunday, 22 May 2022 at 17:50:49 UTC, Test123 wrote: > Use ldc2 without LTO always give the same result like clang. > I find a workaround, use ldc --output-ll generate ll file, then use clang build ll into object file with LTO, will fix the problem.