When compiling
struct Struc(T)
{
static shared T* p;
}
void foo()
{
Struc!int.p = null;
}
with current stable or dmd 2.074-b1, using Agner Fog's objconv to disassemble the file reports:
C:\tmp\d>objconv.exe -fasm ptr.obj
Input file: ptr.obj, output file: ptr.asm
Converting from OMF32 to Disassembly32
Checksums are zero
Warning 1203: Unrecognized data in OMF subrecord
This was introduced by https://github.com/dlang/dmd/pull/6534 and very likely is the cause for https://github.com/dlang/druntime/pull/1763 to fail.