-
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
undeduced type in IR-generation UNREACHABLE executed at llvm/clang/lib/CodeGen/CodeGenFunction.cpp:233! #60085
Comments
@llvm/issue-subscribers-clang-codegen |
@llvm/issue-subscribers-clang-modules |
Update for developers: When I compile a.pcm, I found the following AST in CodeGenTypes::arrangeCXXMethodType:
And the correct one should be:
So the problem looks like when we instantiate |
When I looked again into the tests, I find the way it introduce module files is deprecated (we don't like to introduce modules via
Boom! I met the same problem before. So I am going to reopen the issue and look into it again. BTW, previously when I committed the test , I wanted to test it with the form |
See #60085 for the complete story. Previously I thought the problem got fixed surprisingly. But it is not true. I just tested it with a deprecated method. My bad. Then the deprecated style should be removed and the proper style can't work. So I'll remove the test and reopen that issue to look into it.
Given the following four files:
clang crashes with an assertion failure while compiling
a.cpp
:Where my clang build is https://github.com/mathstuf/llvm-project/tree/p1689r5-csd rebased on 396ad40, so it should still reproduce on main.
The text was updated successfully, but these errors were encountered: