-
Notifications
You must be signed in to change notification settings - Fork 13.6k
[clang] Assertion `BitWidth == RHS.BitWidth && "Bit widths must be the same"' failed. #113044
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
Labels
Comments
@llvm/issue-subscribers-clang-codegen Author: Yihan Yang (yijan4845)
**This testcase is generated by a fuzzer.**
Compiler Explorer: https://godbolt.org/z/GbhfEYor4 This valid code will crash on Clang Assertion Trunk: void test() {
(void) (__array_rank(int[10]) | 1);
} It seems that this goes back to clang-3.0. Stack dump:
|
HerrCai0907
added a commit
to HerrCai0907/llvm-project
that referenced
this issue
Oct 21, 2024
HerrCai0907
added a commit
that referenced
this issue
Oct 22, 2024
Fixed: #113044 the type of `ArrayTypeTraitExpr` can be changed, use i32 directly is incorrect. --------- Co-authored-by: Eli Friedman <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
This testcase is generated by a fuzzer.
Compiler Explorer: https://godbolt.org/z/GbhfEYor4
This valid code will crash on Clang Assertion Trunk:
It seems that this goes back to clang-3.0.
Stack dump:
The text was updated successfully, but these errors were encountered: