Issue 161348
Summary [clang] concepts/require crash clang
Labels clang
Assignees
Reporter kikaxa
    In frontend, according to the detection guide.

Reproducible on macos and most new/old clang versions i tried on godbolt(18-21), gcc works all right.

[1.cpp](https://github.com/user-attachments/files/22616814/1.cpp)

Compiler stderr
gmake[2]: *** [CMakeFiles/StdAnyTest.dir/build.make:79: CMakeFiles/StdAnyTest.dir/main.cpp.o] Segmentation fault (core dumped)
--
clang: error: unable to execute command: Illegal instruction: 4
clang: error: clang frontend command failed due to signal (use -v to see invocation)
Apple clang version 16.0.0 (clang-1600.0.26.4)

[1-a445e2.sh](https://github.com/user-attachments/files/22616816/1-a445e2.sh)
[1-a445e2.cpp](https://github.com/user-attachments/files/22616817/1-a445e2.cpp)
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to