ldc icon indicating copy to clipboard operation
ldc copied to clipboard

The LLVM-based D Compiler.

Results 337 ldc issues
Sort by recently updated
recently updated
newest added

FreeBSD has created a new -CURRENT branch (FreeBSD-16). The build of ldc fails with a "unsupported version" message. Fix, currently applied to the FreeBSD port (lang/ldc): ``` --- runtime/druntime/src/core/sys/freebsd/config.d.orig 2025-06-07...

The cmake files already check the triple for musl and that is a more reliable check compared to looking for Alpine's apk.

…m-20 Since llvm-20, the stack variables are optimized away leading to an infinite loop. The affected assembly became: ``` Disassembly of section .text._D25memoryerror_stackoverflow1fFKG1024hZv: 0000000000000000 : 0: e9 00 00 00...

I am not sure why, but the dynamic array creation still relies on the old hooks, despite having templated versions of `_d_newarray*` that the expressions are lowered to in `expressionsem`....

Runnable example. ```d struct S { int x : 8; } void f(ref S s, int y) { asm { "mov %1, %0" : "=r" (s.x) : "r" (y); }...

```c void f() { register int ax; asm("" : "=m" (ax)); asm("" :: "m" (ax)); } ``` This is illegal C code, so should be rejected at codegen time (can't...