D-Programming-Language/dmd — pull request #707 by yebblies (2012-02-11 06:28:59+00:00)
Title: Issue 3822 - Invalid optimization of alloca called with constant size

e2ir.c constains an optimization to turn alloca into a fixed sized array allocation on the stack when alloca is called with a compile-time constant. This is invalid as alloca may be called inside a loop.

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