[Issue 22163] wrong code with static float array and delegate accessing it

2021-12-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22163 Dennis changed: What|Removed |Added CC||nay...@abv.bg --- Comment #3 from Dennis --- *** I

[Issue 22163] wrong code with static float array and delegate accessing it

2021-11-02 Thread d-bugmail--- via Digitalmars-d-bugs
--- @dkorpel created dlang/dmd pull request #13256 "Fix issue 22163 - wrong code with static float array and delegate accessing it" fixing this issue: - Fix issue 22163 - wrong code with static float array and delegate accessing it https://github.com/dlang/dmd/pull/13256 --

[Issue 22163] wrong code with static float array and delegate accessing it

2021-08-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22163 --- Comment #1 from Dennis --- So far I found out that the delegate makes the parameter volatile in dmd/tocsym.d: ``` if (vd.nestedrefs.dim) { /* Symbol is accessed by a nested function. Make sure * it is not put in a register, and that the