ldc
ldc copied to clipboard
The LLVM-based D Compiler.
**Version:** v1.41.0-git-20d22b1 During building tests, it's common to find warnings without errors: ```console '-half-precision' is not a recognized feature for this target (ignoring feature) ``` or (need LLVM 20 -...
### Environment **OS:** ArchLinux **CPU:** x86_64(zen3) **LDC version:** master (ref.: v1.40.0-beta6) **Emscripten version:** 3.1.73 (LLVM 20) I have been attempting to get results in flamegraph for wasm and debugging too....
```d import core.stdc.stdio; extern(C) int main(int argc, char** argv){ printf("argc=%d\n", argc); return 0; } ``` ```sh ldc2 -betterC -mtriple=risc64-unknown-linux-musl test.d /ldc/bin/../import/core/stdc/stdio.d(1464): Error: `pragma(printf)` function `vfprintf` must have signature `int vfprintf([parameters...],...
1.41.0-beta1 is failing one of its unittests for me: ``` $ ctest -V -R std.int128 UpdateCTestConfiguration from :/home/happy/tmp/ldc-build/DartConfiguration.tcl UpdateCTestConfiguration from :/home/happy/tmp/ldc-build/DartConfiguration.tcl Test project /home/happy/tmp/ldc-build Constructing a list of tests Done...
I have a small app, linking against a static library (i.e., a library.a format). It needs only a couple very small things, and yet one of the library's largest members...
When compiling a function with -w and @target attribute LDC will exit with a spurious warning: "ignoring unrecognized special parameter attribute ...". Here's the program that elicited the warning and...
With druntime v2.111; but works on Linux x86_64. The test has been disabled for now (for CI): https://github.com/ldc-developers/ldc/commit/9b1358bc30023603cc3c9b7a200320786084e3df
This pull request adds preliminary support for IBM Z systems (running in z/Architecture mode).
Check this out: https://godbolt.org/z/1cYPbMdz5 I'm on x86. I started by trying to specify `fastcall` on a function, but then I got something that looked weird, so I pulled out compiler...
EndeavourOS/Arch x86_64, ldc 1.40.0 from repos and from the `install.sh` script. If I compile my project with `-fsanitize=address` it crashes at runtime with a stack overflow. Reduced; ```d import std;...