ICE with clang-21 HEAD (original) (raw)

$ 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:

repro.tar.gz

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