D-Programming-Language/dmd — pull request #1288 by 9rnsr (2012-11-15 01:58:40+00:00)
Title: Issue 8939 - ICE(glue.c) on passing by ref statically initialized const/immutable variable

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

Don't optimize an argument on ref parameter, even which can interpret at compile time.