digitalmars.D.bugs - [Issue 20737] New: TLS variables unusable with -betterC for Windows
- d-bugmail puremagic.com (23/23) Apr 14 2020 https://issues.dlang.org/show_bug.cgi?id=20737
https://issues.dlang.org/show_bug.cgi?id=20737 Issue ID: 20737 Summary: TLS variables unusable with -betterC for Windows MSVC targets Product: D Version: D2 Hardware: All OS: Windows Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: kinke gmx.net This, compiled & linked with -betterC, segfaults with DMD 2.091 on Windows, with -m64 and -m32mscoff (-m32 works; working fine with LDC too): int tlsVar; extern(C) int main() { tlsVar = 123; return 0; } --
Apr 14 2020