-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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 with concepts #46518
Comments
assigned to @mizvekov |
// https://godbolt.org/z/1hEEaE template concept C1 = sizeof(T) != 0; template requires true void f(); void test() { |
The minimal repro provided by Arthur shows two problems. The ICE is fixed on main by 87aa318 The name lookup failure is a separate bug that I am still investigating. Here is a tweaked repro which should not be ambiguous:
https://godbolt.org/z/7KGeMcx7K It seems that when instantiating C1 from C2, we are simply dropping the |
Fixed in trunk by 219790c |
Merged: 168ece2 |
Thank you! |
mentioned in issue llvm/llvm-bugzilla-archive#48656 |
mentioned in issue #51489 |
Extended Description
Hi clang-team,
(maybe you find a better summary)
the following code ICEs
https://godbolt.org/z/fj9E73
with
This code is a reduction from code that uses the ranges-v3 library.
The text was updated successfully, but these errors were encountered: