https://issues.dlang.org/show_bug.cgi?id=15523

Nicholas Wilson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |m

--- Comment #10 from Nicholas Wilson <[email protected]> ---
extern(C++):

// Standard:
extern int iiiiiiiii; // thread_local

void foo()
{
    iiiiiiiii = 42;
}
Generates with LDC:

@iiiiiiiii = external thread_local global i32, align 4

DMD:

extrn   iiiiiiiii

_Z3foov:
    ...
    lea RDI,iiiiiiiii@TLSGD[RIP]

There are no mangling issues.

Can this issue be closed?

--

Reply via email to