[Issue 17622] [REG2.075.0-b1] Wrong code with appender and -inline
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Jul 14 20:50:12 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17622
Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|inline for m64 fails web |[REG2.075.0-b1] Wrong code
|APPS |with appender and -inline
Severity|major |regression
--- Comment #5 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
This is a regression.
Introduced in https://github.com/dlang/dmd/pull/6852
Partial reduction:
//////////////// test.d ////////////////
void main()
{
import std.array : appender;
auto content = appender!(ubyte[])();
auto rdg = ()
{
auto x = content.data;
};
content.put(new ubyte[912]);
}
////////////////////////////////////////
--
More information about the Digitalmars-d-bugs
mailing list