https://issues.dlang.org/show_bug.cgi?id=18576
--- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/94f0bd6af7120ff27968052ad5645a554db12bed fix Issue 18576 - Compiler not doing RVO with auto returns https://github.com/dlang/dmd/commit/8b51a1d3d6f2c96214da0b3e49a62c1b021a70b0 Merge pull request #7990 from WalterBright/fix18576 fix Issue 18576 - Compiler not doing RVO with auto returns merged-on-behalf-of: Walter Bright <walterbri...@users.noreply.github.com> --