Martin Kinkelin

Results 756 comments of Martin Kinkelin

Currently just useful to get a CI-generated list of problematic tests that would need to be adapted (incl. handling the `^^` operator). E.g., from https://github.com/dlang/dmd/actions/runs/9528085481/job/26265410251?pr=16587: ``` FAILED targets: - runnable/xtest46_gc.d...

It's not just the pow operator, but `std.math` is special in general - the compiler recognizes `std.math` function calls during CTFE and handles them in https://github.com/dlang/dmd/blob/master/compiler/src/dmd/builtin.d via hardcoded identifiers. There...

> I looked at the power function in std.math, it's a pretty involved affair to move that out, if I remember right it needs exp. > > It's not just...

Class TypeInfos are emitted into their owning module/object file only, not on-demand in every referencing object file as other TypeInfos (and later uniqued during linking). So if the owning module...

Oh, druntime does need those D TypeInfos for `extern(C++)` classes too, GC etc.

@rainers: Sorry mate, we'd need your help again for `msvc_eh_terminate()` adaptations with MSVC v17.10, x64 only. `libcmt` seems fine, `libcmtd` broke. No results for the dynamic variants yet, will update...

A bit of a pity that lit needs an extra `psutil` pip package for this functionality. And hardcoding a time-out isn't ideal either, but I assume 60 secs is enough.

This was implemented in https://github.com/ldc-developers/ldc/commit/307f41ecebb88ca291229d9eace9a31ecdd4196a.

In D (and the DMD AST), there is no analogon for `__forceinline` - `pragma(inline, true)` doesn't imply that the function is inlined only, never emitted standalone.