D-Programming-Language/dmd — pull request #3889 by WalterBright (2014-08-23 00:06:51+00:00)
Title: [reg] Temporary fix Issue 13321 - Wrong goto skips declaration error

https://issues.dlang.org/show_bug.cgi?id=13321

This is a simple fix to get us past the regression for 2.066. As Kenji pointed out, this means a goto can skip past an initialized compiler temporary. But that problem has always been there. This just fixes the regression so existing code continues to work.

Incorporates the test code from Kenji's https://github.com/D-Programming-Language/dmd/pull/3885