Skip to content

[clang] concepts/require crash clang #161348

@kikaxa

Description

@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

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
1-a445e2.cpp

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:frontendLanguage frontend issues, e.g. anything involving "Sema"conceptsC++20 conceptscrash-on-validlambdaC++11 lambda expressionsregression:17Regression in 17 release

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions