[Issue 17622] [REG2.075.0-b1] Wrong code with appender and -inline

2017-08-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17622

--- Comment #11 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/c73fe970c2014058b9544524d1809180db13cfbb
fix Issue 17622 - [REG2.075.0-b1] Wrong code with appender and -inline

https://github.com/dlang/dmd/commit/17473d2e6248da9fbb746ed8314b0ee488961156
Merge pull request #7056 from WalterBright/fix17622

--


[Issue 17622] [REG2.075.0-b1] Wrong code with appender and -inline

2017-08-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17622

--- Comment #10 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/c73fe970c2014058b9544524d1809180db13cfbb
fix Issue 17622 - [REG2.075.0-b1] Wrong code with appender and -inline

https://github.com/dlang/dmd/commit/17473d2e6248da9fbb746ed8314b0ee488961156
Merge pull request #7056 from WalterBright/fix17622

fix Issue 17622 - [REG2.075.0-b1] Wrong code with appender and -inline
merged-on-behalf-of: Martin Nowak <c...@dawg.eu>

--


[Issue 17622] [REG2.075.0-b1] Wrong code with appender and -inline

2017-08-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17622

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 17622] [REG2.075.0-b1] Wrong code with appender and -inline

2017-08-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17622

Martin Nowak  changed:

   What|Removed |Added

 CC||briancsch...@gmail.com

--- Comment #9 from Martin Nowak  ---
*** Issue 17632 has been marked as a duplicate of this issue. ***

--


[Issue 17622] [REG2.075.0-b1] Wrong code with appender and -inline

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17622

Vladimir Panteleev  changed:

   What|Removed |Added

 CC||kdan...@gmail.com

--- Comment #8 from Vladimir Panteleev  ---
*** Issue 14793 has been marked as a duplicate of this issue. ***

--


[Issue 17622] [REG2.075.0-b1] Wrong code with appender and -inline

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17622

Walter Bright  changed:

   What|Removed |Added

   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=17632

--


[Issue 17622] [REG2.075.0-b1] Wrong code with appender and -inline

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17622

Walter Bright  changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com

--- Comment #7 from Walter Bright  ---
https://github.com/dlang/dmd/pull/7056

--


[Issue 17622] [REG2.075.0-b1] Wrong code with appender and -inline

2017-07-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17622

--- Comment #6 from Vladimir Panteleev  ---
Reduced:

 test.d ///
struct S
{
int i;

this(ubyte)
{
return;
}

void fun()
{
assert(i == 0);
}
}

S make()
{
return S(0);
}

void main()
{
S s = make();

auto rdg =
{
s.fun();
};

s.fun();
}
///

--


[Issue 17622] [REG2.075.0-b1] Wrong code with appender and -inline

2017-07-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17622

Vladimir Panteleev  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  ---
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]);
}


--