ICE with clang-21 HEAD (original) (raw)
- commit: b65e094
- os: arch linux (x86_64)
- llvm build options: I used https://github.com/mengkernel/clang-build like this:
$ python build-llvm.py -t X86 -D LLVM_ENABLE_UNWIND_TABLES=ON LLVM_ENABLE_EH=ON LLVM_ENABLE_RTTI=ON LLVM_ENABLE_WARNINGS=OFF LLVM_INCLUDE_EXAMPLES=0 LLVM_INCLUDE_TESTS=0 LLVM_APPEND_VC_REV=OFF LLVM_TARGETS_TO_BUILD="X86" LLVM_ENABLE_BINDINGS=0 LLVM_INCLUDE_BENCHMARKS=0 LLVM_ENABLE_LIBEDIT=0 LLVM_ENABLE_LIBXML2=0 LLVM_ENABLE_LIBPFM=0 LLVM_ENABLE_HTTPLIB=0 LLVM_ENABLE_CURSES=0 LLVM_ENABLE_TERMINFO=0
repro source files:
same code works fine with current clang stable release on every platform
A quick inspection hints to something in https://github.com/ned14/llfio causing the ICE