-
Notifications
You must be signed in to change notification settings - Fork 12k
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-19 crash: bool clang::TreeTransform< <template-parameter-1-1> >::TransformExprs(clang::Expr* const*, unsigned int, bool, llvm::SmallVectorImpl<clang::Expr*>&, bool*) [with Derived = {anonymous}::TemplateInstantiator]: Assertion `!Unexpanded.empty() && "Pack expansion without parameter packs?"' failed. #97780
Labels
clang:frontend:fuzzer
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
crash
Prefer [crash-on-valid] or [crash-on-invalid]
Comments
github-actions
bot
added
the
clang
Clang issues not falling into any other category
label
Jul 5, 2024
EugeneZelenko
added
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
crash
Prefer [crash-on-valid] or [crash-on-invalid]
and removed
clang
Clang issues not falling into any other category
labels
Jul 5, 2024
@llvm/issue-subscribers-clang-frontend Author: Anonymous (iamanonymouscs)
### Description:
The following code causes a crash in clang++.
Also ICE on trunk, compiler explorer:https://godbolt.org/z/a1YeKdsEW OS and Platform:
Program:template <class... Ts>
void sink(Ts...);
template <class... Ts>
void f(Ts...) {
sink([] { struct alignas:Ts) S {}; }...); }
}
int main() {
f(0);
} Command Lines:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
clang:frontend:fuzzer
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
crash
Prefer [crash-on-valid] or [crash-on-invalid]
Description:
The following code causes a crash in clang++.
Also ICE on trunk, compiler explorer:https://godbolt.org/z/a1YeKdsEW
OS and Platform:
Program:
Command Lines:
The text was updated successfully, but these errors were encountered: