Issue 76631
Summary [clang] crash when using `[[clang::musttail]]` on function marked `[[noreturn]]`
Labels clang:codegen
Assignees
Reporter philnik777
    ```c++
[[noreturn]] void throw_int() {
  throw int();
}

void throw_int_wrapper() {
  [[clang::musttail]] return throw_int();
}
```
causes clang to crash: https://godbolt.org/z/vvPh9KGGn
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to