-
Notifications
You must be signed in to change notification settings - Fork 10.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
[fuzz] ICE on invalid: __make_integer_seq with inappropriate first argument assert-fails #49103
Comments
Another repro with a slightly different stack trace is to make the malformed
====== Assertion failed: (Kind.getKind() == InitializationKind::IK_Copy || Kind.isExplicitCast() || Kind.getKind() == InitializationKind::IK_DirectList), function Perform, file /Users/aodwyer/llvm-project/clang/lib/Sema/SemaInit.cpp, line 8046.
|
The test case in the first example seems to be resolved, but the second comment's example still crashes on trunk. We report the error, but we don't attempt to stop the initialization when the class type itself is invalid. |
Fixes llvm#10518 Fixes llvm#67914 Fixes llvm#78388 Also addresses the second example in llvm#49103 This patch is based on suggestion from @cor3ntin in llvm#67914 (comment)
Extended Description
The symptom is an assert-fail, which means you need to compile Clang in "Debug" mode (to enable assertions) in order to see this repro.
The text was updated successfully, but these errors were encountered: