-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clang 14.0.5 i686-pc-windows-msvc <coroutine>
ICE: failed to perform tail call elimination on a call site marked musttail
#56507
Comments
The code works with llvm-mingw 14.0.0: |
@llvm/issue-subscribers-backend-x86 |
... which suggests there's some MSABI interaction here. |
The crash is NOT reproducible with LLVM 17.0.6:
|
It seems that you used MSVC's |
Sorry, it's my fail, the crash is still here.
|
After upgrading from Clang 18 to Clang 19, this appears to be affecting even more code. |
Repros with VS 2022 17.3 Preview 3 containing Clang 14.0.5.
This test case was slightly reduced from https://github.com/microsoft/STL/blob/969b2e250df56690768fdf8344293624d6ab0d6c/tests/std/tests/P0912R5_coroutine/test.cpp .
Here's a zip of the original source, preprocessed source, and run script: repro.zip
The text was updated successfully, but these errors were encountered: