Skip to content

ICE with clang-21 HEAD #129397

Closed
@jcelerier

Description

@jcelerier
$ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    c++23clang:frontendLanguage frontend issues, e.g. anything involving "Sema"crashPrefer [crash-on-valid] or [crash-on-invalid]regression:20Regression in 20 release

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions