-
Notifications
You must be signed in to change notification settings - Fork 11.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
[clang++] Frontend assertion failure in clang::Sema::tryCaptureVariable #112632
Comments
@llvm/issue-subscribers-clang-frontend Author: yype (yype)
Hi there, clang++ crashes from an assertion failure on the following invalid test case:
a = ^ b ( c < ({d e ( int a,[(a]))>> Tested version(s): only 19.1.0 and trunk (assertions build). Example: https://godbolt.org/z/E4qvYMb5x <details>
</details> Although the assertion failure is similar to those in #107840 and #69470, the test case provided in this issue triggers the failure only in versions 19.1.0 and the trunk. In contrast, the test cases in #107840 and #69470 both trigger the failure from version 17.0.1 to the trunk. Therefore, I believe the underlying root causes are different, which is why I am opening a new issue. The test case was generated by a fuzzer. |
Hi there, clang++ crashes from an assertion failure on the following invalid test case:
Tested version(s): only 19.1.0 and trunk (assertions build).
Example: https://godbolt.org/z/E4qvYMb5x
Stack dump
Although the assertion failure is similar to those in #107840 and #69470, the test case provided in this issue triggers the failure only in versions 19.1.0 and the trunk. In contrast, the test cases in #107840 and #69470 both trigger the failure from version 17.0.1 to the trunk. Therefore, I believe the underlying root causes are different, which is why I am opening a new issue.
The test case was generated by a fuzzer.
The text was updated successfully, but these errors were encountered: