[Issue 15056] [REG2.068.1] Unstored RAII struct return yields bogus error: "cannot mix core.std.stdlib.alloca() and exception handling"

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Sep 14 19:38:38 PDT 2015


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

--- Comment #5 from Kenji Hara <k.hara.pg at gmail.com> ---
It's intentionally introduced in:
https://github.com/D-Programming-Language/dmd/pull/5003

To fix wrong-code issue 14708.

Today, in Win64 and all Posix platforms, dmd uses exception handling table, and
it doesn't support using alloca in a function that contains try-finally
statement.

--


More information about the Digitalmars-d-bugs mailing list