[Issue 13427] [REG2.066] cannot inline default argument alloca(...)
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Sep 7 06:09:58 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13427
--- Comment #2 from Marco Leise <Marco.Leise at gmx.de> ---
(In reply to Vladimir Panteleev from comment #1)
> Introduced in https://github.com/D-Programming-Language/dmd/pull/3811 ,
> which fixed issue 12820. Looks like it may have been intentional.
In terms of what that pull fixed, namely bug
https://issues.dlang.org/show_bug.cgi?id=12820 , it is a false positive. The
alloca() call in this regression is not inside the function, but on the caller
side where the default arguments are filled in. So it is (or at least I
understand it like that) semantically equivalent to:
wcharPtr!"abc"w(alloca(123));
--
More information about the Digitalmars-d-bugs
mailing list