D-Programming-Language/dmd — pull request #1414 by AndrejMitrovic (2012-12-27 21:33:15+00:00)
Title: Issue 8041 - __gshared without initializer fails compilation

http://d.puremagic.com/issues/show_bug.cgi?id=8041

Although it fixes the issue I'm not sure why those checks are in the if statement, it could use a documentation comment.