Results 226 comments of Johan Engelen
trafficstars

This might be a bug in LLVM16. Modified the testcase a little: ```d static struct S { S* thisptr; ~this() { assert(&this == thisptr); thisptr = null; } } void...

Thanks for the report. Can you help us by reducing the testcase using dustmite? (https://github.com/CyberShadow/DustMite/wiki) Much appreciated.

Why do you want it? For potential size reduction? (it is indeed not possible at the moment)

> I have a suspicion that there might be some ABI incompatibility between D objects generated by DMD and C++ objects of LLVM. This is due to the fact, when...

@dukc I propose you write a DIP - or something similar - about how 8/16bit D should work, it's much easier to implement things when a decision has been made...

> > I propose you write a DIP - or something similar - about how 8/16bit D should work > > I'm thinking about writing another forum post for that,...

Related (or same?) issue: https://github.com/ldc-developers/ldc/issues/4433

Good one. These modules are not included when building druntime/phobos (thus are not part of any user's build/link), so indeed `pragma(LDC_no_module_info)` seems the right thing to do.

> With what LDC version were these problems encountered? Weka is using 1.30 at the moment.

Note: this should also set a `__CET__` enum value. Or perhaps we should define `__CET_x__` versions with `x` = 1,2,3. ``` // RUN: %clang -target i386-unknown-unknown -x c -E -dM...