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

--- Comment #2 from Marco Leise <marco.le...@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));

--

Reply via email to