-
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
[clang++] Couldn't find in-class initializer UNREACHABLE executed at /root/llvm-project/clang/lib/Sema/SemaInit.cpp:2299! #112560
Labels
clang:frontend:fuzzer
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
confirmed
Verified by a second party
crash-on-invalid
regression:19
Regression in 19 release
Comments
yijan4845
added
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
crash-on-invalid
regression:19
Regression in 19 release
clang:frontend:fuzzer
labels
Oct 16, 2024
@llvm/issue-subscribers-clang-frontend Author: Yihan Yang (yijan4845)
**This testcase is generated by a fuzzer.**
Compiler Explorer: https://godbolt.org/z/5zfjnET7z This invalid code will crash on both Clang Trunk and Clang Assertion Trunk, it seems that this goes back to clang-19: union U {
int f = ;
};
void foo() {
U g{};
} Stack dump:
|
This crashes even in non-assertions build: https://godbolt.org/z/j9ovqvrh5 |
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"
confirmed
Verified by a second party
crash-on-invalid
regression:19
Regression in 19 release
This testcase is generated by a fuzzer.
Compiler Explorer: https://godbolt.org/z/5zfjnET7z
This invalid code will crash on both Clang Trunk and Clang Assertion Trunk, it seems that this goes back to clang-19:
Stack dump:
The text was updated successfully, but these errors were encountered: