LDC2 Clobbering Local Variableswith std.typecons' nullable.

kinke noone at nowhere.com
Sat Aug 14 18:34:31 UTC 2021


On Saturday, 14 August 2021 at 18:09:27 UTC, LeqxLeqx wrote:
> On Saturday, 14 August 2021 at 04:21:21 UTC, kinke wrote:
>> On Saturday, 14 August 2021 at 04:03:02 UTC, kinke wrote:
>>> Interesting, will look into it in the near future.
>>
>> Pretty bad, and not LDC-specific: 
>> https://issues.dlang.org/show_bug.cgi?id=22209
>
> Wow, that's something, eh? Thank you very much for analyzing 
> this and getting to the root of the issue!

Yeah, memory corruption caused by the compiler is one of the 
worst things. Thanks for reporting and providing the testcase! 
The fix should land in DMD v2.098 / LDC v1.28.


More information about the digitalmars-d-ldc mailing list