-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
ICE on invalid explicit instantiation as abbreviated function template: non-canonical or dependent type in IR-generation #121009
Comments
@llvm/issue-subscribers-c-20 Author: Hubert Tong (hubert-reinterpretcast)
The following source attempts to explicitly instantiate something that is not completely-specialized.
Clang ICEs.
With assertions enabled, we see "non-canonical or dependent type in IR-generation". Online compiler link: https://godbolt.org/z/WvKobK4P7 SOURCE (
|
@llvm/issue-subscribers-clang-frontend Author: Hubert Tong (hubert-reinterpretcast)
The following source attempts to explicitly instantiate something that is not completely-specialized.
Clang ICEs.
With assertions enabled, we see "non-canonical or dependent type in IR-generation". Online compiler link: https://godbolt.org/z/WvKobK4P7 SOURCE (
|
@llvm/issue-subscribers-clang-codegen Author: Hubert Tong (hubert-reinterpretcast)
The following source attempts to explicitly instantiate something that is not completely-specialized.
Clang ICEs.
With assertions enabled, we see "non-canonical or dependent type in IR-generation". Online compiler link: https://godbolt.org/z/WvKobK4P7 SOURCE (
|
@EugeneZelenko, this is a Sema issue because we never should have gotten to codegen. |
@llvm/issue-subscribers-clang-frontend Author: Hubert Tong (hubert-reinterpretcast)
The following source attempts to explicitly instantiate something that is not completely-specialized.
Clang ICEs.
With assertions enabled, we see "non-canonical or dependent type in IR-generation". Online compiler link: https://godbolt.org/z/WvKobK4P7 SOURCE (
|
Looks like this goes back to clang-10 |
The following source attempts to explicitly instantiate something that is not completely-specialized.
Clang ICEs.
With assertions enabled, we see "non-canonical or dependent type in IR-generation".
Online compiler link: https://godbolt.org/z/WvKobK4P7
SOURCE (
<stdin>
)COMPILER INVOCATION
ACTUAL COMPILER OUTPUT (without assertions enabled)
EXPECTED COMPILER OUTPUT
(non-ICE error)
The text was updated successfully, but these errors were encountered: