-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 in TemplateInstantiator::TransformTemplateTypeParmType
#63823
Labels
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
confirmed
Verified by a second party
crash-on-invalid
Comments
@llvm/issue-subscribers-clang-frontend |
Confirmed |
Still happens in current trunk (19). |
While reducing #77250, I stumbled upon this assertion (https://godbolt.org/z/99K9bdExr): auto __make_tuple = []< class _Cvref, class _Fun >(_Cvref, _Fun) -> void
requires requires { _Fun{}(); } {};
template < class _Fun, class... _As >
using __call_result_t = decltype(__make_tuple(_As{}...));
struct __sexpr_uncurry_fn {
void operator()();
};
using T = __call_result_t< decltype(__make_tuple), int, __sexpr_uncurry_fn >; Clang 20.0 crash:
|
This is no longer crashing in trunk. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
confirmed
Verified by a second party
crash-on-invalid
This is one of the reduced version of fixed #62615.
This code still crashes the compiler with
Assertion:
Backtrace:
Code:
https://godbolt.org/z/3cb4K6Wbn
The text was updated successfully, but these errors were encountered: